rust/tests/mir-opt/tls_access.main.PreCodegen.after.mir

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
501 B
Rust
Raw Normal View History

// MIR for `main` after PreCodegen
2020-05-02 14:44:25 -05:00
fn main() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
let _1: *mut u8;
let _2: &u8;
2023-06-06 08:47:00 -05:00
let mut _3: *mut u8;
2020-05-02 14:44:25 -05:00
scope 1 {
debug a => _2;
2020-05-02 14:44:25 -05:00
}
bb0: {
2023-06-06 08:47:00 -05:00
StorageLive(_2);
StorageLive(_1);
_1 = &/*tls*/ mut FOO;
_2 = &(*_1);
StorageLive(_3);
_3 = &/*tls*/ mut FOO;
(*_3) = const 42_u8;
StorageDead(_3);
_0 = const ();
StorageDead(_1);
StorageDead(_2);
return;
2020-05-02 14:44:25 -05:00
}
}