rust/tests/mir-opt/building/custom/projections.simple_index.built.after.mir

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

14 lines
254 B
Rust
Raw Normal View History

2022-12-04 02:20:37 -06:00
// MIR for `simple_index` after built
fn simple_index(_1: [i32; 10], _2: &[i32]) -> i32 {
2023-06-06 08:47:00 -05:00
let mut _0: i32;
let mut _3: usize;
2022-12-04 02:20:37 -06:00
bb0: {
2023-06-06 08:47:00 -05:00
_3 = const 3_usize;
_0 = copy _1[_3];
_0 = copy (*_2)[_3];
return;
2022-12-04 02:20:37 -06:00
}
}