mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-02 18:43:14 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user