mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-27 22:29:02 +01:00
getTrue/getFalse were moved back to ConstantInt
Requires LLVM >= r77685
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 = gIR->context().getTrue();
|
||||
res = LLConstantInt::getTrue(gIR->context());
|
||||
break;
|
||||
case TOKunord:
|
||||
skip = true;
|
||||
res = gIR->context().getFalse();
|
||||
res = LLConstantInt::getFalse(gIR->context());
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user