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

Function array_component_value

src/lower2/stackmaps.rs:1648–1668  ·  view source on GitHub ↗
(array: &FrameValue)

Source from the content-addressed store, hash-verified

1646 return Ok(Vec::new());
1647 }
1648 I::Checkcast(class_index) => {
1649 state.pop_reference(context, instruction_index)?;
1650 let class_name = constant_pool.try_get_class(*class_index)?.to_string();
1651 state
1652 .stack
1653 .push(FrameValue::Object(normalize_class_name(&class_name).into()));
1654 }
1655 I::Instanceof(_) => {
1656 state.pop_reference(context, instruction_index)?;
1657 state.stack.push(FrameValue::Integer);
1658 }
1659 I::Monitorenter | I::Monitorexit => {
1660 state.pop_reference(context, instruction_index)?;
1661 }
1662 I::Multianewarray(class_index, dimensions) => {
1663 for _ in 0..*dimensions {
1664 state.pop(context, instruction_index)?;
1665 }
1666 let class_name = constant_pool.try_get_class(*class_index)?.to_string();
1667 state
1668 .stack
1669 .push(FrameValue::Object(normalize_class_name(&class_name).into()));
1670 }
1671 I::Wide | I::Breakpoint | I::Impdep1 | I::Impdep2 => {}

Callers 1

transfer_instructionFunction · 0.85

Calls 3

to_stringMethod · 0.80
lenMethod · 0.80
starts_withMethod · 0.45

Tested by

no test coverage detected