diff gen/arrays.cpp @ 1548:a326f145a57b

ConstantInt::get{True,False} moved to LLVMContext Non-breaking build fix for LLVM r76533. Also fixes a context related bug in GarbageCollect2Stack.
author Benjamin Kramer <benny.kra@gmail.com>
date Tue, 21 Jul 2009 13:11:39 +0200
parents 7fcb72d518f6
children d6e8d5db259f
line wrap: on
line diff
--- a/gen/arrays.cpp	Mon Jul 20 18:16:11 2009 +0200
+++ b/gen/arrays.cpp	Tue Jul 21 13:11:39 2009 +0200
@@ -784,11 +784,11 @@
         break;
     case TOKleg:
         skip = true;
-        res = llvm::ConstantInt::getTrue();
+        res = gIR->context().getConstantIntTrue();
         break;
     case TOKunord:
         skip = true;
-        res = llvm::ConstantInt::getFalse();
+        res = gIR->context().getConstantIntFalse();
         break;
 
     default: