mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-11 21:37:17 +03:00
Simplify generation of a call's return value
This commit is contained in:
parent
0f41c0c681
commit
7778db00a8
3 changed files with 8 additions and 36 deletions
|
@ -168,7 +168,7 @@ void DtoPaddedStruct(Type *dty, LLValue *v, LLValue *lval) {
|
|||
// Nested structs are the only members that can contain padding
|
||||
DtoPaddedStruct(fields[i]->type, fieldval, fieldptr);
|
||||
} else {
|
||||
DtoStore(fieldval, fieldptr);
|
||||
DtoStoreZextI8(fieldval, fieldptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue