diff options
| author | hyd-dev <yd-huang@outlook.com> | 2021-05-25 03:51:41 +0800 |
|---|---|---|
| committer | hyd-dev <yd-huang@outlook.com> | 2021-05-25 03:51:41 +0800 |
| commit | 116172d1802995b2eb4d1c17a7762d9c8840a198 (patch) | |
| tree | fac62dd686a44ea46af679d9f916c1152702101f | |
| parent | 4a7c9ba6e3a250dc899af9b401d2db45d4c2ea7e (diff) | |
| download | rust-116172d1802995b2eb4d1c17a7762d9c8840a198.tar.gz rust-116172d1802995b2eb4d1c17a7762d9c8840a198.zip | |
Add a comment
| -rw-r--r-- | compiler/rustc_mir/src/interpret/terminator.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir/src/interpret/terminator.rs b/compiler/rustc_mir/src/interpret/terminator.rs index 305d41f5eeb..1ee56ca3fc5 100644 --- a/compiler/rustc_mir/src/interpret/terminator.rs +++ b/compiler/rustc_mir/src/interpret/terminator.rs @@ -319,6 +319,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { && !self .fn_can_unwind(self.tcx.codegen_fn_attrs(callee_def_id).flags, callee_abi) { + // The callee cannot unwind. unwind = StackPopUnwind::NotAllowed; } |
