diff gen/arrays.cpp @ 1560:1d5c3354b3c2

getNullValue is in Constant again Requires LLVM >= r77721
author Benjamin Kramer <benny.kra@gmail.com>
date Fri, 31 Jul 2009 23:01:29 +0200
parents 06d5cc873350
children 755abafbf25d
line wrap: on
line diff
--- a/gen/arrays.cpp	Fri Jul 31 19:11:07 2009 +0200
+++ b/gen/arrays.cpp	Fri Jul 31 23:01:29 2009 +0200
@@ -60,7 +60,7 @@
     assert(isaPointer(v));
     const LLType* t = v->getType()->getContainedType(0);
 
-    DtoStore(gIR->context().getNullValue(t), v);
+    DtoStore(LLConstant::getNullValue(t), v);
 }
 
 //////////////////////////////////////////////////////////////////////////////////////////