mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-17 17:29:02 +02:00
IntegerType is now contextifed.
Requires llvm >= 78969. resistor says this will be the last context API change :)
This commit is contained in:
@@ -18,7 +18,7 @@ IrVar::IrVar(VarDeclaration* var)
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
IrGlobal::IrGlobal(VarDeclaration* v): IrVar(v),
|
||||
type(llvm::OpaqueType::get())
|
||||
type(llvm::OpaqueType::get(llvm::getGlobalContext()))
|
||||
{
|
||||
constInit = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user