diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-01-25 16:55:30 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-03-13 18:22:55 +0000 |
| commit | 19a8bb16c83474d5c4baa2673b76b0621e0bd6a2 (patch) | |
| tree | daaa31ee5d0007acab6ff335d468aa35b14ce505 /tests/mir-opt/inline/inline_cycle.two.Inline.diff | |
| parent | 63ce733fe272e6ead8f9536754f002c93883651a (diff) | |
| download | rust-19a8bb16c83474d5c4baa2673b76b0621e0bd6a2.tar.gz rust-19a8bb16c83474d5c4baa2673b76b0621e0bd6a2.zip | |
Generalize operation.
Diffstat (limited to 'tests/mir-opt/inline/inline_cycle.two.Inline.diff')
| -rw-r--r-- | tests/mir-opt/inline/inline_cycle.two.Inline.diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mir-opt/inline/inline_cycle.two.Inline.diff b/tests/mir-opt/inline/inline_cycle.two.Inline.diff index 5c395a3b24c..0215b3d93f9 100644 --- a/tests/mir-opt/inline/inline_cycle.two.Inline.diff +++ b/tests/mir-opt/inline/inline_cycle.two.Inline.diff @@ -24,7 +24,7 @@ - // mir::Constant // + span: $DIR/inline_cycle.rs:49:10: 49:11 // + literal: Const { ty: fn() {f}, val: Value(<ZST>) } -+ StorageLive(_3); // scope 1 at $DIR/inline_cycle.rs:54:5: 54:8 ++ StorageLive(_3); // scope 0 at $DIR/inline_cycle.rs:+1:5: +1:12 + StorageLive(_4); // scope 1 at $DIR/inline_cycle.rs:54:5: 54:8 + _4 = const (); // scope 1 at $DIR/inline_cycle.rs:54:5: 54:8 + _3 = move _2() -> bb1; // scope 2 at $SRC_DIR/core/src/ops/function.rs:LL:COL @@ -32,7 +32,7 @@ bb1: { + StorageDead(_4); // scope 1 at $DIR/inline_cycle.rs:54:5: 54:8 -+ StorageDead(_3); // scope 1 at $DIR/inline_cycle.rs:54:8: 54:9 ++ StorageDead(_3); // scope 0 at $DIR/inline_cycle.rs:+1:5: +1:12 + StorageDead(_2); // scope 0 at $DIR/inline_cycle.rs:+1:5: +1:12 StorageDead(_1); // scope 0 at $DIR/inline_cycle.rs:+1:12: +1:13 _0 = const (); // scope 0 at $DIR/inline_cycle.rs:+0:10: +2:2 |
