about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbobtwinkles <srkoser+GitHub@gmail.com>2018-01-25 01:45:45 -0500
committerbobtwinkles <srkoser+GitHub@gmail.com>2018-02-05 15:00:40 -0500
commitbdc37aa05722818e8edb5d93825a62921f351913 (patch)
treee686d6556cb4fa96d54ce78d716b46b4fe63ffc1 /src/rustllvm/RustWrapper.cpp
parent5ca88ae6ae2f864dcdd924f099cdf6a345476196 (diff)
downloadrust-bdc37aa05722818e8edb5d93825a62921f351913.tar.gz
rust-bdc37aa05722818e8edb5d93825a62921f351913.zip
mir: Add TerminatorKind::FalseUnwind
Sometimes a simple goto misses the cleanup/unwind edges. Specifically, in the
case of infinite loops such as those introduced by a loop statement without any
other out edges. Analogous to TerminatorKind::FalseEdges; this new terminator
kind is used when we want borrowck to consider an unwind path, but real control
flow should never actually take it.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions