mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
Final step in the metadata API restructuring: move the
getMDKindID/getMDKindNames methods to LLVMContext (and add convenience methods to Module), eliminating MetadataContext. Move the state that it maintains out to LLVMContext. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92259 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -170,7 +170,7 @@ class BitcodeReader : public ModuleProvider {
|
||||
DenseMap<Function*, std::vector<BlockAddrRefTy> > BlockAddrFwdRefs;
|
||||
|
||||
public:
|
||||
explicit BitcodeReader(MemoryBuffer *buffer, LLVMContext& C)
|
||||
explicit BitcodeReader(MemoryBuffer *buffer, LLVMContext &C)
|
||||
: Context(C), Buffer(buffer), ErrorString(0), ValueList(C), MDValueList(C) {
|
||||
HasReversedFunctionsWithBodies = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user