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

Function instruction_to_byte_offsets

src/lower2/stackmaps.rs:307–315  ·  view source on GitHub ↗
(instructions: &[Instruction])

Source from the content-addressed store, hash-verified

305 None => target,
306 };
307 let locals =
308 locals_for_stack_map(&state.locals, constant_pool, &mut verification_class_cache)?;
309 let stack =
310 stack_for_stack_map(&state.stack, constant_pool, &mut verification_class_cache)?;
311 frames.push(compact_stack_frame(
312 instruction_delta,
313 &previous_locals,
314 &locals,
315 stack,
316 ));
317 previous_locals = locals;
318 previous_instruction_offset = Some(target);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected