mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 19:36:06 +03:00
zext bool to i8 in makeLValue.
This commit is contained in:
parent
bc910004a4
commit
95b34c3625
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue