mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-07 23:43:13 +01:00
Don't use llvm::getGlobalContext() anymore
This commit is contained in:
@@ -60,7 +60,7 @@ void DtoSetArrayToNull(LLValue* v)
|
||||
assert(isaPointer(v));
|
||||
const LLType* t = v->getType()->getContainedType(0);
|
||||
|
||||
DtoStore(llvm::getGlobalContext().getNullValue(t), v);
|
||||
DtoStore(gIR->context().getNullValue(t), v);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user