mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-12 05:47:11 +03:00
Use typed gep in DtoFinalizeScopeClass
(#4081)
This commit is contained in:
parent
a79a30c41e
commit
d8d105fb1b
3 changed files with 8 additions and 4 deletions
|
@ -1554,7 +1554,7 @@ public:
|
|||
} else if (auto ve = e->e1->isVarExp()) {
|
||||
if (auto vd = ve->var->isVarDeclaration()) {
|
||||
if (vd->onstack()) {
|
||||
DtoFinalizeScopeClass(e->loc, DtoRVal(dval), vd->onstackWithDtor());
|
||||
DtoFinalizeScopeClass(e->loc, dval, vd->onstackWithDtor());
|
||||
onstack = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue