mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 00:23:14 +01:00
IntegerType is now contextifed.
Requires llvm >= 78969. resistor says this will be the last context API change :)
This commit is contained in:
@@ -319,7 +319,7 @@ void DtoResolveTypeInfo(TypeInfoDeclaration* tid)
|
||||
// Construct the metadata
|
||||
llvm::MetadataBase* metadata = llvm::MDNode::get(gIR->context(), mdVals, TD_NumFields);
|
||||
// Insert it into the module
|
||||
llvm::NamedMDNode::Create(metaname, &metadata, 1, gIR->module);
|
||||
llvm::NamedMDNode::Create(gIR->context(), metaname, &metadata, 1, gIR->module);
|
||||
}
|
||||
}
|
||||
#endif // USE_METADATA
|
||||
|
||||
Reference in New Issue
Block a user