getNullValue is in Constant again

Requires LLVM >= r77721
This commit is contained in:
Benjamin Kramer
2009-07-31 23:01:29 +02:00
parent 0a1d467ac7
commit 4c5457ba61
13 changed files with 35 additions and 35 deletions

View File

@@ -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);
}
//////////////////////////////////////////////////////////////////////////////////////////