diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-08-16 17:31:00 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-08-17 17:02:04 +0000 |
| commit | 933b618360ae4b0e952ac2c8cc89bc0db9edec59 (patch) | |
| tree | 3eeefa71c5667c9e2e03aeb4a64309c83fb2a7c1 /tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-unwind.diff | |
| parent | bd138e2ae11050ea9ca7a187345a1b606697a8db (diff) | |
| download | rust-933b618360ae4b0e952ac2c8cc89bc0db9edec59.tar.gz rust-933b618360ae4b0e952ac2c8cc89bc0db9edec59.zip | |
Revert "Implement references VarDebugInfo."
This reverts commit 2ec007191348ef7cc13eb55e44e007b02cf75cf3.
Diffstat (limited to 'tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-unwind.diff')
| -rw-r--r-- | tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-unwind.diff | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-unwind.diff b/tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-unwind.diff index b02be61d031..f6c337be10f 100644 --- a/tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-unwind.diff +++ b/tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-unwind.diff @@ -13,13 +13,16 @@ let mut _8: usize; let mut _9: usize; let mut _10: bool; - let mut _11: !; + let mut _14: !; scope 1 { debug v => _2; + let _11: &T; + let _12: &T; + let _13: &T; scope 2 { - debug v1 => &(*_2)[0 of 3]; - debug v2 => &(*_2)[1 of 3]; - debug v3 => &(*_2)[2 of 3]; + debug v1 => _11; + debug v2 => _12; + debug v3 => _13; } } @@ -39,10 +42,19 @@ } bb1: { - _11 = core::panicking::panic(const "internal error: entered unreachable code") -> unwind continue; + _14 = core::panicking::panic(const "internal error: entered unreachable code") -> unwind continue; } bb2: { + StorageLive(_11); + _11 = &(*_2)[0 of 3]; + StorageLive(_12); + _12 = &(*_2)[1 of 3]; + StorageLive(_13); + _13 = &(*_2)[2 of 3]; + StorageDead(_13); + StorageDead(_12); + StorageDead(_11); StorageDead(_4); return; } |
