move marking-locals-live out of push_stack_frame, so it happens with argument passing
this entirely avoids even creating unsized locals in Immediate::Uninitialized state
This commit is contained in:
parent
bdd5855b8e
commit
a09df43d9f
15 changed files with 188 additions and 105 deletions
|
@ -61,6 +61,7 @@ fn eval_body_using_ecx<'mir, 'tcx>(
|
|||
&ret.clone().into(),
|
||||
StackPopCleanup::Root { cleanup: false },
|
||||
)?;
|
||||
ecx.storage_live_for_always_live_locals()?;
|
||||
|
||||
// The main interpreter loop.
|
||||
while ecx.step()? {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue