diff options
| author | Jakob Degen <jakob.e.degen@gmail.com> | 2022-08-02 18:57:54 -0700 |
|---|---|---|
| committer | Jakob Degen <jakob.e.degen@gmail.com> | 2022-08-02 18:57:54 -0700 |
| commit | efa5eaa5d13ccfa4eb2a7d4b65e7eddd5ca7dd0a (patch) | |
| tree | 45c404727fa104f231efc577d08adf54766a9186 /src/test/mir-opt/inline/inline_cycle_generic.main.Inline.diff | |
| parent | e4417cf020fbcd6182c11637bc6b8694434bd81a (diff) | |
| download | rust-efa5eaa5d13ccfa4eb2a7d4b65e7eddd5ca7dd0a.tar.gz rust-efa5eaa5d13ccfa4eb2a7d4b65e7eddd5ca7dd0a.zip | |
Avoid invalidating the CFG in MirPatch.
As a part of this change, we adjust MirPatch to not needlessly create unnecessary resume blocks.
Diffstat (limited to 'src/test/mir-opt/inline/inline_cycle_generic.main.Inline.diff')
| -rw-r--r-- | src/test/mir-opt/inline/inline_cycle_generic.main.Inline.diff | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/mir-opt/inline/inline_cycle_generic.main.Inline.diff b/src/test/mir-opt/inline/inline_cycle_generic.main.Inline.diff index d5709f1b47a..082f57e59a0 100644 --- a/src/test/mir-opt/inline/inline_cycle_generic.main.Inline.diff +++ b/src/test/mir-opt/inline/inline_cycle_generic.main.Inline.diff @@ -27,10 +27,6 @@ StorageDead(_1); // scope 0 at $DIR/inline-cycle-generic.rs:+1:24: +1:25 _0 = const (); // scope 0 at $DIR/inline-cycle-generic.rs:+0:11: +2:2 return; // scope 0 at $DIR/inline-cycle-generic.rs:+2:2: +2:2 -+ } -+ -+ bb2 (cleanup): { -+ resume; // scope 0 at $DIR/inline-cycle-generic.rs:+0:1: +2:2 } } |
