about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2023-12-09 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2023-12-11 23:11:20 +0100
commitef1831a21fede46bd7bd2d895fb82c194c0d7304 (patch)
tree869fcefa576d6903b51dbc7abe8919bc78c4be16 /compiler/rustc_codegen_llvm/src/asm.rs
parent21cce21d8c012f14cf74d5afddd795d324600dac (diff)
downloadrust-ef1831a21fede46bd7bd2d895fb82c194c0d7304.tar.gz
rust-ef1831a21fede46bd7bd2d895fb82c194c0d7304.zip
End locals' live range before suspending coroutine
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions