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

Method pop_category1

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

Source from the content-addressed store, hash-verified

64 Self {
65 locals: Arc::new(locals),
66 stack: Vec::new(),
67 }
68 }
69
70 fn pop(&mut self, context: &str, instruction_index: usize) -> jvm::Result<FrameValue> {
71 self.stack
72 .pop()
73 .ok_or_else(|| jvm::Error::VerificationError {
74 context: context.to_string(),
75 message: format!("Stack underflow at instruction {instruction_index}"),
76 })
77 }
78
79 fn pop_category1(
80 &mut self,
81 context: &str,
82 instruction_index: usize,
83 ) -> jvm::Result<FrameValue> {
84 let value = self.pop(context, instruction_index)?;

Callers 2

pop_referenceMethod · 0.80
transfer_instructionFunction · 0.80

Calls 3

popMethod · 0.80
is_category2Method · 0.80
to_stringMethod · 0.80

Tested by

no test coverage detected