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

Function set_slot_value

src/lower2/stackmaps.rs:1573–1583  ·  view source on GitHub ↗
(locals: &mut Vec<FrameValue>, local_index: u16, value: FrameValue)

Source from the content-addressed store, hash-verified

1571 I::Getstatic(field_ref) => {
1572 let field_type = field_type_for_ref(constant_pool, *field_ref)?;
1573 state.stack.push(frame_value_from_field_type(&field_type));
1574 }
1575 I::Putstatic(_) => {
1576 state.pop(context, instruction_index)?;
1577 }
1578 I::Getfield(field_ref) => {
1579 state.pop_reference(context, instruction_index)?;
1580 let field_type = field_type_for_ref(constant_pool, *field_ref)?;
1581 state.stack.push(frame_value_from_field_type(&field_type));
1582 }
1583 I::Putfield(_) => {
1584 state.pop(context, instruction_index)?;
1585 state.pop_reference(context, instruction_index)?;
1586 }

Callers 1

Calls 2

is_category2Method · 0.80
lenMethod · 0.80

Tested by

no test coverage detected