bless tests
This commit is contained in:
parent
c612ef8f48
commit
8092b90cb2
@ -9,12 +9,9 @@ fn main() -> () {
|
|||||||
StorageLive(_1); // scope 0 at $DIR/const_allocation.rs:8:5: 8:8
|
StorageLive(_1); // scope 0 at $DIR/const_allocation.rs:8:5: 8:8
|
||||||
StorageLive(_2); // scope 0 at $DIR/const_allocation.rs:8:5: 8:8
|
StorageLive(_2); // scope 0 at $DIR/const_allocation.rs:8:5: 8:8
|
||||||
_2 = const {alloc1: &&[(Option<i32>, &[&str])]}; // scope 0 at $DIR/const_allocation.rs:8:5: 8:8
|
_2 = const {alloc1: &&[(Option<i32>, &[&str])]}; // scope 0 at $DIR/const_allocation.rs:8:5: 8:8
|
||||||
// ty::Const
|
|
||||||
// + ty: &&[(std::option::Option<i32>, &[&str])]
|
|
||||||
// + val: Value(Scalar(alloc1))
|
|
||||||
// mir::Constant
|
// mir::Constant
|
||||||
// + span: $DIR/const_allocation.rs:8:5: 8:8
|
// + span: $DIR/const_allocation.rs:8:5: 8:8
|
||||||
// + literal: Const { ty: &&[(std::option::Option<i32>, &[&str])], val: Value(Scalar(alloc1)) }
|
// + literal: Const { ty: &&[(Option<i32>, &[&str])], val: Value(Scalar(alloc1)) }
|
||||||
_1 = (*_2); // scope 0 at $DIR/const_allocation.rs:8:5: 8:8
|
_1 = (*_2); // scope 0 at $DIR/const_allocation.rs:8:5: 8:8
|
||||||
StorageDead(_2); // scope 0 at $DIR/const_allocation.rs:8:8: 8:9
|
StorageDead(_2); // scope 0 at $DIR/const_allocation.rs:8:8: 8:9
|
||||||
StorageDead(_1); // scope 0 at $DIR/const_allocation.rs:8:8: 8:9
|
StorageDead(_1); // scope 0 at $DIR/const_allocation.rs:8:8: 8:9
|
||||||
@ -22,48 +19,3 @@ fn main() -> () {
|
|||||||
return; // scope 0 at $DIR/const_allocation.rs:9:2: 9:2
|
return; // scope 0 at $DIR/const_allocation.rs:9:2: 9:2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
alloc1 (static: FOO, size: 16, align: 8) {
|
|
||||||
╾───────alloc18───────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc18 (size: 72, align: 8) {
|
|
||||||
0x00 │ 00 00 00 00 __ __ __ __ ╾───────alloc5────────╼ │ ....░░░░╾──────╼
|
|
||||||
0x10 │ 00 00 00 00 00 00 00 00 00 00 00 00 __ __ __ __ │ ............░░░░
|
|
||||||
0x20 │ ╾───────alloc9────────╼ 02 00 00 00 00 00 00 00 │ ╾──────╼........
|
|
||||||
0x30 │ 01 00 00 00 2a 00 00 00 ╾───────alloc14───────╼ │ ....*...╾──────╼
|
|
||||||
0x40 │ 03 00 00 00 00 00 00 00 │ ........
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc5 (size: 0, align: 8) {}
|
|
||||||
|
|
||||||
alloc9 (size: 32, align: 8) {
|
|
||||||
0x00 │ ╾───────alloc8────────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
|
|
||||||
0x10 │ ╾───────alloc10───────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc8 (size: 3, align: 1) {
|
|
||||||
66 6f 6f │ foo
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc10 (size: 3, align: 1) {
|
|
||||||
62 61 72 │ bar
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc14 (size: 48, align: 8) {
|
|
||||||
0x00 │ ╾───────alloc13───────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
|
|
||||||
0x10 │ ╾───────alloc15───────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
|
|
||||||
0x20 │ ╾───────alloc16───────╼ 04 00 00 00 00 00 00 00 │ ╾──────╼........
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc13 (size: 3, align: 1) {
|
|
||||||
6d 65 68 │ meh
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc15 (size: 3, align: 1) {
|
|
||||||
6d 6f 70 │ mop
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc16 (size: 4, align: 1) {
|
|
||||||
6d c3 b6 70 │ m..p
|
|
||||||
}
|
|
||||||
|
@ -9,12 +9,9 @@ fn main() -> () {
|
|||||||
StorageLive(_1); // scope 0 at $DIR/const_allocation2.rs:5:5: 5:8
|
StorageLive(_1); // scope 0 at $DIR/const_allocation2.rs:5:5: 5:8
|
||||||
StorageLive(_2); // scope 0 at $DIR/const_allocation2.rs:5:5: 5:8
|
StorageLive(_2); // scope 0 at $DIR/const_allocation2.rs:5:5: 5:8
|
||||||
_2 = const {alloc1: &&[(Option<i32>, &[&u8])]}; // scope 0 at $DIR/const_allocation2.rs:5:5: 5:8
|
_2 = const {alloc1: &&[(Option<i32>, &[&u8])]}; // scope 0 at $DIR/const_allocation2.rs:5:5: 5:8
|
||||||
// ty::Const
|
|
||||||
// + ty: &&[(std::option::Option<i32>, &[&u8])]
|
|
||||||
// + val: Value(Scalar(alloc1))
|
|
||||||
// mir::Constant
|
// mir::Constant
|
||||||
// + span: $DIR/const_allocation2.rs:5:5: 5:8
|
// + span: $DIR/const_allocation2.rs:5:5: 5:8
|
||||||
// + literal: Const { ty: &&[(std::option::Option<i32>, &[&u8])], val: Value(Scalar(alloc1)) }
|
// + literal: Const { ty: &&[(Option<i32>, &[&u8])], val: Value(Scalar(alloc1)) }
|
||||||
_1 = (*_2); // scope 0 at $DIR/const_allocation2.rs:5:5: 5:8
|
_1 = (*_2); // scope 0 at $DIR/const_allocation2.rs:5:5: 5:8
|
||||||
StorageDead(_2); // scope 0 at $DIR/const_allocation2.rs:5:8: 5:9
|
StorageDead(_2); // scope 0 at $DIR/const_allocation2.rs:5:8: 5:9
|
||||||
StorageDead(_1); // scope 0 at $DIR/const_allocation2.rs:5:8: 5:9
|
StorageDead(_1); // scope 0 at $DIR/const_allocation2.rs:5:8: 5:9
|
||||||
@ -22,46 +19,3 @@ fn main() -> () {
|
|||||||
return; // scope 0 at $DIR/const_allocation2.rs:6:2: 6:2
|
return; // scope 0 at $DIR/const_allocation2.rs:6:2: 6:2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
alloc1 (static: FOO, size: 16, align: 8) {
|
|
||||||
╾───────alloc28───────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc28 (size: 72, align: 8) {
|
|
||||||
0x00 │ 00 00 00 00 __ __ __ __ ╾───────alloc13───────╼ │ ....░░░░╾──────╼
|
|
||||||
0x10 │ 00 00 00 00 00 00 00 00 00 00 00 00 __ __ __ __ │ ............░░░░
|
|
||||||
0x20 │ ╾───────alloc18───────╼ 02 00 00 00 00 00 00 00 │ ╾──────╼........
|
|
||||||
0x30 │ 01 00 00 00 2a 00 00 00 ╾───────alloc26───────╼ │ ....*...╾──────╼
|
|
||||||
0x40 │ 03 00 00 00 00 00 00 00 │ ........
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc13 (size: 0, align: 8) {}
|
|
||||||
|
|
||||||
alloc18 (size: 16, align: 8) {
|
|
||||||
╾───────alloc16───────╼ ╾───────alloc17───────╼ │ ╾──────╼╾──────╼
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc16 (size: 1, align: 1) {
|
|
||||||
05 │ .
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc17 (size: 1, align: 1) {
|
|
||||||
06 │ .
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc26 (size: 24, align: 8) {
|
|
||||||
0x00 │ ╾─────alloc22+0x3─────╼ ╾───────alloc23───────╼ │ ╾──────╼╾──────╼
|
|
||||||
0x10 │ ╾─────alloc25+0x2─────╼ │ ╾──────╼
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc22 (size: 4, align: 1) {
|
|
||||||
2a 45 15 6f │ *E.o
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc23 (size: 1, align: 1) {
|
|
||||||
2a │ *
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc25 (size: 4, align: 1) {
|
|
||||||
2a 45 15 6f │ *E.o
|
|
||||||
}
|
|
||||||
|
@ -9,9 +9,6 @@ fn main() -> () {
|
|||||||
StorageLive(_1); // scope 0 at $DIR/const_allocation3.rs:5:5: 5:8
|
StorageLive(_1); // scope 0 at $DIR/const_allocation3.rs:5:5: 5:8
|
||||||
StorageLive(_2); // scope 0 at $DIR/const_allocation3.rs:5:5: 5:8
|
StorageLive(_2); // scope 0 at $DIR/const_allocation3.rs:5:5: 5:8
|
||||||
_2 = const {alloc1: &&Packed}; // scope 0 at $DIR/const_allocation3.rs:5:5: 5:8
|
_2 = const {alloc1: &&Packed}; // scope 0 at $DIR/const_allocation3.rs:5:5: 5:8
|
||||||
// ty::Const
|
|
||||||
// + ty: &&Packed
|
|
||||||
// + val: Value(Scalar(alloc1))
|
|
||||||
// mir::Constant
|
// mir::Constant
|
||||||
// + span: $DIR/const_allocation3.rs:5:5: 5:8
|
// + span: $DIR/const_allocation3.rs:5:5: 5:8
|
||||||
// + literal: Const { ty: &&Packed, val: Value(Scalar(alloc1)) }
|
// + literal: Const { ty: &&Packed, val: Value(Scalar(alloc1)) }
|
||||||
@ -22,38 +19,3 @@ fn main() -> () {
|
|||||||
return; // scope 0 at $DIR/const_allocation3.rs:6:2: 6:2
|
return; // scope 0 at $DIR/const_allocation3.rs:6:2: 6:2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
alloc1 (static: FOO, size: 8, align: 8) {
|
|
||||||
╾───────alloc11───────╼ │ ╾──────╼
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc11 (size: 180, align: 1) {
|
|
||||||
0x00 │ ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab │ ................
|
|
||||||
0x10 │ ab ab ab ab ab ab ab ab ab ab ab ab ╾──alloc6── │ ............╾───
|
|
||||||
0x20 │ ──────────╼ 01 ef cd ab 00 00 00 00 00 00 00 00 │ ───╼............
|
|
||||||
0x30 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x40 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x50 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x60 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x70 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x80 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ╾──── │ ..............╾─
|
|
||||||
0x90 │ ─────alloc8─────╼ 00 00 ╾─────alloc9+0x63─────╼ │ ─────╼..╾──────╼
|
|
||||||
0xa0 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0xb0 │ 00 00 00 00 │ ....
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc6 (size: 4, align: 4) {
|
|
||||||
2a 00 00 00 │ *...
|
|
||||||
}
|
|
||||||
|
|
||||||
alloc8 (fn: main)
|
|
||||||
|
|
||||||
alloc9 (size: 100, align: 1) {
|
|
||||||
0x00 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x10 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x20 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x30 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x40 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x50 │ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
|
|
||||||
0x60 │ 00 00 00 00 │ ....
|
|
||||||
}
|
|
||||||
|
@ -8,9 +8,6 @@ promoted[0] in BAR: &[&i32; 1] = {
|
|||||||
|
|
||||||
bb0: {
|
bb0: {
|
||||||
_3 = const {alloc1: &i32}; // scope 0 at $DIR/const-promotion-extern-static.rs:9:33: 9:34
|
_3 = const {alloc1: &i32}; // scope 0 at $DIR/const-promotion-extern-static.rs:9:33: 9:34
|
||||||
// ty::Const
|
|
||||||
// + ty: &i32
|
|
||||||
// + val: Value(Scalar(alloc1))
|
|
||||||
// mir::Constant
|
// mir::Constant
|
||||||
// + span: $DIR/const-promotion-extern-static.rs:9:33: 9:34
|
// + span: $DIR/const-promotion-extern-static.rs:9:33: 9:34
|
||||||
// + literal: Const { ty: &i32, val: Value(Scalar(alloc1)) }
|
// + literal: Const { ty: &i32, val: Value(Scalar(alloc1)) }
|
||||||
@ -20,7 +17,3 @@ promoted[0] in BAR: &[&i32; 1] = {
|
|||||||
return; // scope 0 at $DIR/const-promotion-extern-static.rs:9:31: 9:44
|
return; // scope 0 at $DIR/const-promotion-extern-static.rs:9:31: 9:44
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
alloc1 (static: Y, size: 4, align: 4) {
|
|
||||||
2a 00 00 00 │ *...
|
|
||||||
}
|
|
||||||
|
@ -18,9 +18,7 @@
|
|||||||
- StorageLive(_5); // scope 0 at $DIR/const-promotion-extern-static.rs:9:33: 9:34
|
- StorageLive(_5); // scope 0 at $DIR/const-promotion-extern-static.rs:9:33: 9:34
|
||||||
- _5 = const {alloc1: &i32}; // scope 0 at $DIR/const-promotion-extern-static.rs:9:33: 9:34
|
- _5 = const {alloc1: &i32}; // scope 0 at $DIR/const-promotion-extern-static.rs:9:33: 9:34
|
||||||
+ _6 = const BAR::promoted[0]; // scope 0 at $DIR/const-promotion-extern-static.rs:9:31: 9:44
|
+ _6 = const BAR::promoted[0]; // scope 0 at $DIR/const-promotion-extern-static.rs:9:31: 9:44
|
||||||
// ty::Const
|
+ // ty::Const
|
||||||
- // + ty: &i32
|
|
||||||
- // + val: Value(Scalar(alloc1))
|
|
||||||
+ // + ty: &[&i32; 1]
|
+ // + ty: &[&i32; 1]
|
||||||
+ // + val: Unevaluated(BAR, [], Some(promoted[0]))
|
+ // + val: Unevaluated(BAR, [], Some(promoted[0]))
|
||||||
// mir::Constant
|
// mir::Constant
|
||||||
@ -51,9 +49,5 @@
|
|||||||
bb2 (cleanup): {
|
bb2 (cleanup): {
|
||||||
resume; // scope 0 at $DIR/const-promotion-extern-static.rs:9:1: 9:45
|
resume; // scope 0 at $DIR/const-promotion-extern-static.rs:9:1: 9:45
|
||||||
}
|
}
|
||||||
- }
|
|
||||||
-
|
|
||||||
- alloc1 (static: Y, size: 4, align: 4) {
|
|
||||||
- 2a 00 00 00 │ *...
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,18 +7,13 @@ promoted[0] in FOO: &[&i32; 1] = {
|
|||||||
let mut _3: *const i32; // in scope 0 at $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
let mut _3: *const i32; // in scope 0 at $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
||||||
|
|
||||||
bb0: {
|
bb0: {
|
||||||
_3 = const {alloc3: *const i32}; // scope 0 at $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
_3 = const {alloc2: *const i32}; // scope 0 at $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
||||||
// ty::Const
|
|
||||||
// + ty: *const i32
|
|
||||||
// + val: Value(Scalar(alloc3))
|
|
||||||
// mir::Constant
|
// mir::Constant
|
||||||
// + span: $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
// + span: $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
||||||
// + literal: Const { ty: *const i32, val: Value(Scalar(alloc3)) }
|
// + literal: Const { ty: *const i32, val: Value(Scalar(alloc2)) }
|
||||||
_2 = &(*_3); // scope 0 at $DIR/const-promotion-extern-static.rs:13:41: 13:43
|
_2 = &(*_3); // scope 0 at $DIR/const-promotion-extern-static.rs:13:41: 13:43
|
||||||
_1 = [move _2]; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:46
|
_1 = [move _2]; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:46
|
||||||
_0 = &_1; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:55
|
_0 = &_1; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:55
|
||||||
return; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:55
|
return; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:55
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
alloc3 (extern static: X)
|
|
||||||
|
@ -18,16 +18,14 @@
|
|||||||
- StorageLive(_3); // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:46
|
- StorageLive(_3); // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:46
|
||||||
- StorageLive(_4); // scope 0 at $DIR/const-promotion-extern-static.rs:13:32: 13:45
|
- StorageLive(_4); // scope 0 at $DIR/const-promotion-extern-static.rs:13:32: 13:45
|
||||||
- StorageLive(_5); // scope 1 at $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
- StorageLive(_5); // scope 1 at $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
||||||
- _5 = const {alloc3: *const i32}; // scope 1 at $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
- _5 = const {alloc2: *const i32}; // scope 1 at $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
||||||
+ _6 = const FOO::promoted[0]; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:55
|
+ _6 = const FOO::promoted[0]; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:55
|
||||||
// ty::Const
|
+ // ty::Const
|
||||||
- // + ty: *const i32
|
|
||||||
- // + val: Value(Scalar(alloc3))
|
|
||||||
+ // + ty: &[&i32; 1]
|
+ // + ty: &[&i32; 1]
|
||||||
+ // + val: Unevaluated(FOO, [], Some(promoted[0]))
|
+ // + val: Unevaluated(FOO, [], Some(promoted[0]))
|
||||||
// mir::Constant
|
// mir::Constant
|
||||||
- // + span: $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
- // + span: $DIR/const-promotion-extern-static.rs:13:42: 13:43
|
||||||
- // + literal: Const { ty: *const i32, val: Value(Scalar(alloc3)) }
|
- // + literal: Const { ty: *const i32, val: Value(Scalar(alloc2)) }
|
||||||
- _4 = &(*_5); // scope 1 at $DIR/const-promotion-extern-static.rs:13:41: 13:43
|
- _4 = &(*_5); // scope 1 at $DIR/const-promotion-extern-static.rs:13:41: 13:43
|
||||||
- _3 = [move _4]; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:46
|
- _3 = [move _4]; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:46
|
||||||
- _2 = &_3; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:55
|
- _2 = &_3; // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:55
|
||||||
@ -54,6 +52,4 @@
|
|||||||
resume; // scope 0 at $DIR/const-promotion-extern-static.rs:13:1: 13:56
|
resume; // scope 0 at $DIR/const-promotion-extern-static.rs:13:1: 13:56
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
-
|
|
||||||
- alloc3 (extern static: X)
|
|
||||||
|
|
||||||
|
@ -24,9 +24,6 @@
|
|||||||
StorageLive(_3); // scope 2 at $DIR/mutable_variable_no_prop.rs:9:13: 9:19
|
StorageLive(_3); // scope 2 at $DIR/mutable_variable_no_prop.rs:9:13: 9:19
|
||||||
StorageLive(_4); // scope 2 at $DIR/mutable_variable_no_prop.rs:9:13: 9:19
|
StorageLive(_4); // scope 2 at $DIR/mutable_variable_no_prop.rs:9:13: 9:19
|
||||||
_4 = const {alloc1: *mut u32}; // scope 2 at $DIR/mutable_variable_no_prop.rs:9:13: 9:19
|
_4 = const {alloc1: *mut u32}; // scope 2 at $DIR/mutable_variable_no_prop.rs:9:13: 9:19
|
||||||
// ty::Const
|
|
||||||
// + ty: *mut u32
|
|
||||||
// + val: Value(Scalar(alloc1))
|
|
||||||
// mir::Constant
|
// mir::Constant
|
||||||
// + span: $DIR/mutable_variable_no_prop.rs:9:13: 9:19
|
// + span: $DIR/mutable_variable_no_prop.rs:9:13: 9:19
|
||||||
// + literal: Const { ty: *mut u32, val: Value(Scalar(alloc1)) }
|
// + literal: Const { ty: *mut u32, val: Value(Scalar(alloc1)) }
|
||||||
@ -45,7 +42,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
alloc1 (static: STATIC, size: 4, align: 4) {
|
|
||||||
2a 00 00 00 │ *...
|
|
||||||
}
|
|
||||||
|
|
||||||
|
@ -17,9 +17,6 @@
|
|||||||
StorageLive(_2); // scope 0 at $DIR/read_immutable_static.rs:7:13: 7:16
|
StorageLive(_2); // scope 0 at $DIR/read_immutable_static.rs:7:13: 7:16
|
||||||
StorageLive(_3); // scope 0 at $DIR/read_immutable_static.rs:7:13: 7:16
|
StorageLive(_3); // scope 0 at $DIR/read_immutable_static.rs:7:13: 7:16
|
||||||
_3 = const {alloc1: &u8}; // scope 0 at $DIR/read_immutable_static.rs:7:13: 7:16
|
_3 = const {alloc1: &u8}; // scope 0 at $DIR/read_immutable_static.rs:7:13: 7:16
|
||||||
// ty::Const
|
|
||||||
// + ty: &u8
|
|
||||||
// + val: Value(Scalar(alloc1))
|
|
||||||
// mir::Constant
|
// mir::Constant
|
||||||
// + span: $DIR/read_immutable_static.rs:7:13: 7:16
|
// + span: $DIR/read_immutable_static.rs:7:13: 7:16
|
||||||
// + literal: Const { ty: &u8, val: Value(Scalar(alloc1)) }
|
// + literal: Const { ty: &u8, val: Value(Scalar(alloc1)) }
|
||||||
@ -28,9 +25,6 @@
|
|||||||
StorageLive(_4); // scope 0 at $DIR/read_immutable_static.rs:7:19: 7:22
|
StorageLive(_4); // scope 0 at $DIR/read_immutable_static.rs:7:19: 7:22
|
||||||
StorageLive(_5); // scope 0 at $DIR/read_immutable_static.rs:7:19: 7:22
|
StorageLive(_5); // scope 0 at $DIR/read_immutable_static.rs:7:19: 7:22
|
||||||
_5 = const {alloc1: &u8}; // scope 0 at $DIR/read_immutable_static.rs:7:19: 7:22
|
_5 = const {alloc1: &u8}; // scope 0 at $DIR/read_immutable_static.rs:7:19: 7:22
|
||||||
// ty::Const
|
|
||||||
// + ty: &u8
|
|
||||||
// + val: Value(Scalar(alloc1))
|
|
||||||
// mir::Constant
|
// mir::Constant
|
||||||
// + span: $DIR/read_immutable_static.rs:7:19: 7:22
|
// + span: $DIR/read_immutable_static.rs:7:19: 7:22
|
||||||
// + literal: Const { ty: &u8, val: Value(Scalar(alloc1)) }
|
// + literal: Const { ty: &u8, val: Value(Scalar(alloc1)) }
|
||||||
@ -48,7 +42,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
alloc1 (static: FOO, size: 1, align: 1) {
|
|
||||||
02 │ .
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user