Backed out changeset 1b62222581fb

Do not use i8 for bool. Instead rely on the target to store i1 as i8.
This commit is contained in:
Christian Kamm
2008-09-21 14:45:41 +02:00
parent 4b02533745
commit bb47b7c4ce
7 changed files with 26 additions and 29 deletions

View File

@@ -1649,7 +1649,7 @@ DValue* NotExp::toElem(IRState* p)
LLValue* b = DtoBoolean(loc, u);
LLConstant* zero = llvm::ConstantInt::get(b->getType(), 0);
LLConstant* zero = DtoConstBool(false);
b = p->ir->CreateICmpEQ(b,zero);
return new DImValue(type, b);