summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/terminators.indirect_call.built.after.mir
blob: 2f1b14069abe06a124aee230e203decae4b88c55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// MIR for `indirect_call` after built

fn indirect_call(_1: i32, _2: fn(i32) -> i32) -> i32 {
    let mut _0: i32;                     // return place in scope 0 at $DIR/terminators.rs:+0:48: +0:51

    bb0: {
        _0 = _2(_1) -> bb1;              // scope 0 at $DIR/terminators.rs:+3:13: +3:38
    }

    bb1: {
        return;                          // scope 0 at $DIR/terminators.rs:+7:13: +7:21
    }
}