mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
remove bitcode reader support for LLVM 2.7 metadata encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133268 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -174,17 +174,10 @@ class BitcodeReader : public GVMaterializer {
|
||||
typedef std::pair<unsigned, GlobalVariable*> BlockAddrRefTy;
|
||||
DenseMap<Function*, std::vector<BlockAddrRefTy> > BlockAddrFwdRefs;
|
||||
|
||||
/// LLVM2_7MetadataDetected - True if metadata produced by LLVM 2.7 or
|
||||
/// earlier was detected, in which case we behave slightly differently,
|
||||
/// for compatibility.
|
||||
/// FIXME: Remove in LLVM 3.0.
|
||||
bool LLVM2_7MetadataDetected;
|
||||
|
||||
public:
|
||||
explicit BitcodeReader(MemoryBuffer *buffer, LLVMContext &C)
|
||||
: Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
|
||||
ErrorString(0), ValueList(C), MDValueList(C),
|
||||
LLVM2_7MetadataDetected(false) {
|
||||
ErrorString(0), ValueList(C), MDValueList(C) {
|
||||
HasReversedFunctionsWithBodies = false;
|
||||
}
|
||||
~BitcodeReader() {
|
||||
|
Reference in New Issue
Block a user