about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/analyze.rs
diff options
context:
space:
mode:
authorcynecx <me@cynecx.net>2021-09-04 19:25:09 +0200
committercynecx <me@cynecx.net>2021-12-03 23:51:49 +0100
commit91021de1f67de546b7ef41e03fc787f03ecf2239 (patch)
tree2e809500921ea4bd58327c054b6965579cd74a81 /compiler/rustc_codegen_ssa/src/mir/analyze.rs
parent491dd1f387e4f0b167e35560a97efc9949304640 (diff)
downloadrust-91021de1f67de546b7ef41e03fc787f03ecf2239.tar.gz
rust-91021de1f67de546b7ef41e03fc787f03ecf2239.zip
LLVM codgen support for unwinding inline assembly
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/mir/analyze.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/mir/analyze.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/analyze.rs b/compiler/rustc_codegen_ssa/src/mir/analyze.rs
index c486c19f9c9..0447c02fdec 100644
--- a/compiler/rustc_codegen_ssa/src/mir/analyze.rs
+++ b/compiler/rustc_codegen_ssa/src/mir/analyze.rs
@@ -276,9 +276,9 @@ pub fn cleanup_kinds(mir: &mir::Body<'_>) -> IndexVec<mir::BasicBlock, CleanupKi
                 | TerminatorKind::SwitchInt { .. }
                 | TerminatorKind::Yield { .. }
                 | TerminatorKind::FalseEdge { .. }
-                | TerminatorKind::FalseUnwind { .. }
-                | TerminatorKind::InlineAsm { .. } => { /* nothing to do */ }
+                | TerminatorKind::FalseUnwind { .. } => { /* nothing to do */ }
                 TerminatorKind::Call { cleanup: unwind, .. }
+                | TerminatorKind::InlineAsm { cleanup: unwind, .. }
                 | TerminatorKind::Assert { cleanup: unwind, .. }
                 | TerminatorKind::DropAndReplace { unwind, .. }
                 | TerminatorKind::Drop { unwind, .. } => {