From 95b34c36253f30253c86da38c0c6c964969f6210 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Wed, 12 Jun 2013 20:39:34 +0200 Subject: [PATCH] zext bool to i8 in makeLValue. --- gen/llvmhelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/llvmhelpers.cpp b/gen/llvmhelpers.cpp index 6cbf1091..d78c8e26 100644 --- a/gen/llvmhelpers.cpp +++ b/gen/llvmhelpers.cpp @@ -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; }