mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
ef1831a21f
State transforms retains storage statements for locals that are not stored inside a coroutine. It ensures those locals are live when resuming by inserting StorageLive as appropriate. It forgot to end the storage of those locals when suspending, which is fixed here. While the end of live range is implicit when executing return, it is nevertheless useful for inliner which would otherwise extend the live range beyond return. |
||
---|---|---|
.. | ||
custom | ||
async_await.a-{closure#0}.coroutine_resume.0.mir | ||
async_await.b-{closure#0}.coroutine_resume.0.mir | ||
async_await.rs | ||
enum_cast.bar.built.after.mir | ||
enum_cast.boo.built.after.mir | ||
enum_cast.droppy.built.after.mir | ||
enum_cast.far.built.after.mir | ||
enum_cast.foo.built.after.mir | ||
enum_cast.offsetty.built.after.mir | ||
enum_cast.rs | ||
enum_cast.signy.built.after.mir | ||
enum_cast.unsigny.built.after.mir | ||
issue_49232.main.built.after.mir | ||
issue_49232.rs | ||
issue_101867.main.built.after.mir | ||
issue_101867.rs | ||
issue_110508.{impl#0}-BAR.built.after.mir | ||
issue_110508.{impl#0}-SELF_BAR.built.after.mir | ||
issue_110508.rs | ||
logical_or_in_conditional.rs | ||
logical_or_in_conditional.test_complex.built.after.mir | ||
logical_or_in_conditional.test_or.built.after.mir | ||
match_false_edges.full_tested_match2.built.after.mir | ||
match_false_edges.full_tested_match.built.after.mir | ||
match_false_edges.main.built.after.mir | ||
match_false_edges.rs | ||
receiver_ptr_mutability.main.built.after.mir | ||
receiver_ptr_mutability.rs | ||
shifts.rs | ||
shifts.shift_signed.built.after.mir | ||
shifts.shift_unsigned.built.after.mir | ||
simple_match.match_bool.built.after.mir | ||
simple_match.rs | ||
storage_live_dead_in_statics.rs | ||
storage_live_dead_in_statics.XXX.built.after.mir | ||
uniform_array_move_out.move_out_by_subslice.built.after.mir | ||
uniform_array_move_out.move_out_from_end.built.after.mir | ||
uniform_array_move_out.rs | ||
while_storage.rs | ||
while_storage.while_loop.PreCodegen.after.panic-abort.mir | ||
while_storage.while_loop.PreCodegen.after.panic-unwind.mir |