add cast kind of from_exposed_addr (int-to-ptr casts)
This commit is contained in:
parent
5e6bb83268
commit
fafccdced3
10 changed files with 93 additions and 39 deletions
|
|
@ -19,7 +19,7 @@
|
|||
// + literal: Const { ty: fn() {main}, val: Value(Scalar(<ZST>)) }
|
||||
_2 = move _3 as usize (PointerExposeAddress); // scope 0 at $DIR/reify_fn_ptr.rs:4:13: 4:26
|
||||
StorageDead(_3); // scope 0 at $DIR/reify_fn_ptr.rs:4:25: 4:26
|
||||
_1 = move _2 as *const fn() (Misc); // scope 0 at $DIR/reify_fn_ptr.rs:4:13: 4:41
|
||||
_1 = move _2 as *const fn() (PointerFromExposedAddress); // scope 0 at $DIR/reify_fn_ptr.rs:4:13: 4:41
|
||||
StorageDead(_2); // scope 0 at $DIR/reify_fn_ptr.rs:4:40: 4:41
|
||||
StorageDead(_1); // scope 0 at $DIR/reify_fn_ptr.rs:4:41: 4:42
|
||||
nop; // scope 0 at $DIR/reify_fn_ptr.rs:3:11: 5:2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue