mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-12 22:14:54 +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) {
|
if (needsMemory) {
|
||||||
LLValue* tmp = DtoAlloca(valueType, ".makelvaluetmp");
|
LLValue* tmp = DtoAlloca(valueType, ".makelvaluetmp");
|
||||||
DtoStore(valuePointer, tmp);
|
DtoStoreZextI8(valuePointer, tmp);
|
||||||
valuePointer = tmp;
|
valuePointer = tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue