diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-15 17:00:11 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-16 16:29:35 +0000 |
| commit | 02424e4bc57344dc7436644f897b5500a1973242 (patch) | |
| tree | fbb9f0f8f6f8ce86254b9e75a44b49da00ca09a5 /tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff | |
| parent | e7bdc5f9f869219e8d20060b42a09ea10a837851 (diff) | |
| download | rust-02424e4bc57344dc7436644f897b5500a1973242.tar.gz rust-02424e4bc57344dc7436644f897b5500a1973242.zip | |
Normalize alloc-id in tests.
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff')
| -rw-r--r-- | tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff b/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff index ae8b44c953e..f5da5d56777 100644 --- a/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff +++ b/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff @@ -43,7 +43,7 @@ bb0: { StorageLive(_1); StorageLive(_2); - _2 = const {alloc1: &E}; + _2 = const {ALLOC0: &E}; _1 = (*_2); StorageDead(_2); StorageLive(_3); @@ -78,7 +78,7 @@ bb4: { StorageLive(_7); StorageLive(_8); - _8 = const {alloc2: &&E}; + _8 = const {ALLOC1: &&E}; _7 = (*_8); StorageDead(_8); StorageLive(_9); @@ -112,15 +112,15 @@ } } - alloc2 (static: RC, size: 4, align: 4) { - ╾─alloc14─╼ │ ╾──╼ + ALLOC1 (static: RC, size: 4, align: 4) { + ╾─ALLOC2──╼ │ ╾──╼ } - alloc14 (size: 8, align: 4) { + ALLOC2 (size: 8, align: 4) { 01 00 00 00 04 00 00 00 │ ........ } - alloc1 (static: statics::C, size: 8, align: 4) { + ALLOC0 (static: statics::C, size: 8, align: 4) { 00 00 00 00 00 00 00 00 │ ........ } |
