mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-18 09:49:02 +02:00
getNullValue is in Constant again
Requires LLVM >= r77721
This commit is contained in:
@@ -60,7 +60,7 @@ void DtoSetArrayToNull(LLValue* v)
|
||||
assert(isaPointer(v));
|
||||
const LLType* t = v->getType()->getContainedType(0);
|
||||
|
||||
DtoStore(gIR->context().getNullValue(t), v);
|
||||
DtoStore(LLConstant::getNullValue(t), v);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user