getTrue/getFalse were moved back to ConstantInt

Requires LLVM >= r77685
This commit is contained in:
Benjamin Kramer 2009-07-31 19:11:07 +02:00
parent d5d3ecdb05
commit 0a1d467ac7
3 changed files with 8 additions and 8 deletions

View file

@ -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: