MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / store_reference_fixed

Function store_reference_fixed

src/lower2/stackmaps.rs:1024–1033  ·  view source on GitHub ↗
(
    state: &mut FrameState,
    local: u16,
    context: &str,
    instruction_index: usize,
)

Source from the content-addressed store, hash-verified

1022 }
1023 for (index, instruction) in instructions.iter().enumerate() {
1024 if instruction_ends_block(instruction) && index + 1 < instructions.len() {
1025 starts.insert(index + 1);
1026 }
1027 }
1028
1029 let block_starts = starts.into_iter().collect::<Vec<_>>();
1030 let block_ends = block_starts
1031 .iter()
1032 .copied()
1033 .skip(1)
1034 .chain(std::iter::once(instructions.len()))
1035 .collect::<Vec<_>>();
1036 let mut block_by_instruction = vec![0usize; instructions.len()];

Callers 1

transfer_instructionFunction · 0.85

Calls 2

pop_referenceMethod · 0.80
store_localMethod · 0.80

Tested by

no test coverage detected