diff options
| author | bobtwinkles <srkoser+GitHub@gmail.com> | 2018-01-25 01:45:45 -0500 |
|---|---|---|
| committer | bobtwinkles <srkoser+GitHub@gmail.com> | 2018-02-05 15:00:40 -0500 |
| commit | bdc37aa05722818e8edb5d93825a62921f351913 (patch) | |
| tree | e686d6556cb4fa96d54ce78d716b46b4fe63ffc1 /src/rustllvm/RustWrapper.cpp | |
| parent | 5ca88ae6ae2f864dcdd924f099cdf6a345476196 (diff) | |
| download | rust-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
