diff options
| author | Ralf Jung <post@ralfj.de> | 2023-09-03 09:28:31 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-09-03 09:28:31 +0200 |
| commit | fb26c21c356075c0cd35d98fa0b786b7633249d8 (patch) | |
| tree | 62acd3e15506a4b53b29a70b7882c0c2fa0352b4 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff | |
| parent | dc81d6c2827bb23e75f1dc6c42e9c705ed976ba1 (diff) | |
| parent | a989e25f1b87949a886eab3da10324d14189fe95 (diff) | |
| download | rust-fb26c21c356075c0cd35d98fa0b786b7633249d8.tar.gz rust-fb26c21c356075c0cd35d98fa0b786b7633249d8.zip | |
Merge from rustc
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
| -rw-r--r-- | tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff b/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff index 60c0772d8ec..a9e99933b12 100644 --- a/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff +++ b/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff @@ -32,12 +32,12 @@ bb1: { StorageDead(_6); _3 = Lt(move _4, move _5); - StorageDead(_5); - StorageDead(_4); switchInt(move _3) -> [0: bb4, otherwise: bb2]; } bb2: { + StorageDead(_5); + StorageDead(_4); StorageLive(_8); _8 = _1; _9 = Len((*_2)); @@ -52,6 +52,8 @@ } bb4: { + StorageDead(_5); + StorageDead(_4); _0 = const 42_u8; goto -> bb5; } |
