zext bool to i8 in makeLValue.

This commit is contained in:
David Nadlinger 2013-06-12 20:39:34 +02:00
parent bc910004a4
commit 95b34c3625

View file

@ -1697,7 +1697,7 @@ LLValue* makeLValue(Loc& loc, DValue* value)
if (needsMemory) {
LLValue* tmp = DtoAlloca(valueType, ".makelvaluetmp");
DtoStore(valuePointer, tmp);
DtoStoreZextI8(valuePointer, tmp);
valuePointer = tmp;
}