ConstantInt::get{True,False} moved to LLVMContext

Non-breaking build fix for LLVM r76533. Also fixes a context related
bug in GarbageCollect2Stack.
This commit is contained in:
Benjamin Kramer 2009-07-21 13:11:39 +02:00
parent 51c02d192a
commit a398cd39b3
3 changed files with 31 additions and 32 deletions

View file

@ -784,11 +784,11 @@ LLValue* DtoArrayCompare(Loc& loc, TOK op, DValue* l, DValue* r)
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: