|
| 1 | +- // MIR for `t32` before Inline |
| 2 | ++ // MIR for `t32` after Inline |
| 3 | + |
| 4 | + fn t32() -> () { |
| 5 | + let mut _0: (); // return place in scope 0 at $DIR/inline-instruction-set.rs:41:14: 41:14 |
| 6 | + let _1: (); // in scope 0 at $DIR/inline-instruction-set.rs:42:5: 42:26 |
| 7 | + let _2: (); // in scope 0 at $DIR/inline-instruction-set.rs:43:5: 43:26 |
| 8 | + let _3: (); // in scope 0 at $DIR/inline-instruction-set.rs:46:5: 46:30 |
| 9 | ++ scope 1 (inlined instruction_set_t32) { // at $DIR/inline-instruction-set.rs:43:5: 43:26 |
| 10 | ++ } |
| 11 | + |
| 12 | + bb0: { |
| 13 | + StorageLive(_1); // scope 0 at $DIR/inline-instruction-set.rs:42:5: 42:26 |
| 14 | + _1 = instruction_set_a32() -> bb1; // scope 0 at $DIR/inline-instruction-set.rs:42:5: 42:26 |
| 15 | + // mir::Constant |
| 16 | + // + span: $DIR/inline-instruction-set.rs:42:5: 42:24 |
| 17 | + // + literal: Const { ty: fn() {instruction_set_a32}, val: Value(Scalar(<ZST>)) } |
| 18 | + } |
| 19 | + |
| 20 | + bb1: { |
| 21 | + StorageDead(_1); // scope 0 at $DIR/inline-instruction-set.rs:42:26: 42:27 |
| 22 | + StorageLive(_2); // scope 0 at $DIR/inline-instruction-set.rs:43:5: 43:26 |
| 23 | +- _2 = instruction_set_t32() -> bb2; // scope 0 at $DIR/inline-instruction-set.rs:43:5: 43:26 |
| 24 | +- // mir::Constant |
| 25 | +- // + span: $DIR/inline-instruction-set.rs:43:5: 43:24 |
| 26 | +- // + literal: Const { ty: fn() {instruction_set_t32}, val: Value(Scalar(<ZST>)) } |
| 27 | +- } |
| 28 | +- |
| 29 | +- bb2: { |
| 30 | ++ _2 = const (); // scope 1 at $DIR/inline-instruction-set.rs:43:5: 43:26 |
| 31 | + StorageDead(_2); // scope 0 at $DIR/inline-instruction-set.rs:43:26: 43:27 |
| 32 | + StorageLive(_3); // scope 0 at $DIR/inline-instruction-set.rs:46:5: 46:30 |
| 33 | +- _3 = instruction_set_default() -> bb3; // scope 0 at $DIR/inline-instruction-set.rs:46:5: 46:30 |
| 34 | ++ _3 = instruction_set_default() -> bb2; // scope 0 at $DIR/inline-instruction-set.rs:46:5: 46:30 |
| 35 | + // mir::Constant |
| 36 | + // + span: $DIR/inline-instruction-set.rs:46:5: 46:28 |
| 37 | + // + literal: Const { ty: fn() {instruction_set_default}, val: Value(Scalar(<ZST>)) } |
| 38 | + } |
| 39 | + |
| 40 | +- bb3: { |
| 41 | ++ bb2: { |
| 42 | + StorageDead(_3); // scope 0 at $DIR/inline-instruction-set.rs:46:30: 46:31 |
| 43 | + _0 = const (); // scope 0 at $DIR/inline-instruction-set.rs:41:14: 47:2 |
| 44 | + return; // scope 0 at $DIR/inline-instruction-set.rs:47:2: 47:2 |
| 45 | + } |
| 46 | + } |
| 47 | + |
0 commit comments