about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorEric Holk <ericholk@microsoft.com>2023-01-09 17:07:52 -0800
committerEric Holk <ericholk@microsoft.com>2023-01-12 11:58:32 -0800
commitd32f3fe14ecab069ceebe73063061f6aef05c217 (patch)
tree50cba6041a1f5ec2cc4d590e249abafb636e5eaf /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent96de375e6773836e47c69fd23e55c77c509a5419 (diff)
downloadrust-d32f3fe14ecab069ceebe73063061f6aef05c217.tar.gz
rust-d32f3fe14ecab069ceebe73063061f6aef05c217.zip
[drop tracking] Visit break expressions
This fixes #102383 by remembering to visit the expression in
`break expr` when building the drop tracking CFG. Missing this step was
causing an off-by-one error which meant after a number of awaits we'd be
looking for dropped values at the wrong point in the code.

Additionally, this changes the order of traversal for assignment
expressions to visit the rhs and then the lhs. This matches what is done
elsewhere.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions