mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 00:55:49 +03:00
getTrue/getFalse were moved back to ConstantInt
Requires LLVM >= r77685
This commit is contained in:
parent
d5d3ecdb05
commit
0a1d467ac7
3 changed files with 8 additions and 8 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue