2021-02-05 00:00:00 +00:00
|
|
|
- // MIR for `default` before Inline
|
|
|
|
+ // MIR for `default` after Inline
|
|
|
|
|
|
|
|
fn default() -> () {
|
2022-11-02 21:54:49 +00:00
|
|
|
let mut _0: (); // return place in scope 0 at $DIR/inline_instruction_set.rs:+0:18: +0:18
|
|
|
|
let _1: (); // in scope 0 at $DIR/inline_instruction_set.rs:+1:5: +1:26
|
|
|
|
let _2: (); // in scope 0 at $DIR/inline_instruction_set.rs:+2:5: +2:26
|
|
|
|
let _3: (); // in scope 0 at $DIR/inline_instruction_set.rs:+3:5: +3:30
|
|
|
|
+ scope 1 (inlined instruction_set_default) { // at $DIR/inline_instruction_set.rs:53:5: 53:30
|
2021-02-05 00:00:00 +00:00
|
|
|
+ }
|
|
|
|
|
|
|
|
bb0: {
|
2022-11-02 21:54:49 +00:00
|
|
|
StorageLive(_1); // scope 0 at $DIR/inline_instruction_set.rs:+1:5: +1:26
|
|
|
|
_1 = instruction_set_a32() -> bb1; // scope 0 at $DIR/inline_instruction_set.rs:+1:5: +1:26
|
2021-02-05 00:00:00 +00:00
|
|
|
// mir::Constant
|
2022-11-02 21:54:49 +00:00
|
|
|
// + span: $DIR/inline_instruction_set.rs:51:5: 51:24
|
2022-07-06 14:14:46 +00:00
|
|
|
// + literal: Const { ty: fn() {instruction_set_a32}, val: Value(<ZST>) }
|
2021-02-05 00:00:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2022-11-02 21:54:49 +00:00
|
|
|
StorageDead(_1); // scope 0 at $DIR/inline_instruction_set.rs:+1:26: +1:27
|
|
|
|
StorageLive(_2); // scope 0 at $DIR/inline_instruction_set.rs:+2:5: +2:26
|
|
|
|
_2 = instruction_set_t32() -> bb2; // scope 0 at $DIR/inline_instruction_set.rs:+2:5: +2:26
|
2021-02-05 00:00:00 +00:00
|
|
|
// mir::Constant
|
2022-11-02 21:54:49 +00:00
|
|
|
// + span: $DIR/inline_instruction_set.rs:52:5: 52:24
|
2022-07-06 14:14:46 +00:00
|
|
|
// + literal: Const { ty: fn() {instruction_set_t32}, val: Value(<ZST>) }
|
2021-02-05 00:00:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bb2: {
|
2022-11-02 21:54:49 +00:00
|
|
|
StorageDead(_2); // scope 0 at $DIR/inline_instruction_set.rs:+2:26: +2:27
|
|
|
|
StorageLive(_3); // scope 0 at $DIR/inline_instruction_set.rs:+3:5: +3:30
|
|
|
|
- _3 = instruction_set_default() -> bb3; // scope 0 at $DIR/inline_instruction_set.rs:+3:5: +3:30
|
2021-02-05 00:00:00 +00:00
|
|
|
- // mir::Constant
|
2022-11-02 21:54:49 +00:00
|
|
|
- // + span: $DIR/inline_instruction_set.rs:53:5: 53:28
|
2022-07-06 14:14:46 +00:00
|
|
|
- // + literal: Const { ty: fn() {instruction_set_default}, val: Value(<ZST>) }
|
2021-02-05 00:00:00 +00:00
|
|
|
- }
|
|
|
|
-
|
|
|
|
- bb3: {
|
2022-11-02 21:54:49 +00:00
|
|
|
StorageDead(_3); // scope 0 at $DIR/inline_instruction_set.rs:+3:30: +3:31
|
|
|
|
_0 = const (); // scope 0 at $DIR/inline_instruction_set.rs:+0:18: +4:2
|
|
|
|
return; // scope 0 at $DIR/inline_instruction_set.rs:+4:2: +4:2
|
2021-02-05 00:00:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|