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_shims.clone.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_shims.clone.Inline.diff')
| -rw-r--r-- | src/test/mir-opt/inline/inline_shims.clone.Inline.diff | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/mir-opt/inline/inline_shims.clone.Inline.diff b/src/test/mir-opt/inline/inline_shims.clone.Inline.diff index e69af791622..25ca05893b2 100644 --- a/src/test/mir-opt/inline/inline_shims.clone.Inline.diff +++ b/src/test/mir-opt/inline/inline_shims.clone.Inline.diff @@ -21,10 +21,6 @@ + _0 = (*_2); // scope 1 at $SRC_DIR/core/src/clone.rs:LL:COL StorageDead(_2); // scope 0 at $DIR/inline-shims.rs:+1:13: +1:14 return; // scope 0 at $DIR/inline-shims.rs:+2:2: +2:2 -+ } -+ -+ bb1 (cleanup): { -+ resume; // scope 0 at $DIR/inline-shims.rs:+0:1: +2:2 } } |
