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

Method pop_reference

src/lower2/stackmaps.rs:83–98  ·  view source on GitHub ↗
(
        &mut self,
        context: &str,
        instruction_index: usize,
    )

Source from the content-addressed store, hash-verified

81 context: &str,
82 instruction_index: usize,
83 ) -> jvm::Result<FrameValue> {
84 let value = self.pop(context, instruction_index)?;
85 if value.is_category2() {
86 return Err(jvm::Error::VerificationError {
87 context: context.to_string(),
88 message: format!(
89 "Expected category-1 value at instruction {instruction_index}, found {value:?}"
90 ),
91 });
92 }
93 Ok(value)
94 }
95
96 fn pop_reference(
97 &mut self,
98 context: &str,
99 instruction_index: usize,
100 ) -> jvm::Result<FrameValue> {
101 let value = self.pop_category1(context, instruction_index)?;

Callers 4

transfer_instructionFunction · 0.80
apply_invokeFunction · 0.80
store_reference_fixedFunction · 0.80
array_loadFunction · 0.80

Calls 3

pop_category1Method · 0.80
is_reference_likeMethod · 0.80
to_stringMethod · 0.80

Tested by

no test coverage detected