MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / pop

Method pop

crates/tinywasm/src/interpreter/stack/value_stack.rs:50–55  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

48
49 #[inline(always)]
50 pub(crate) fn pop(&mut self) -> T {
51 self.data.pop().unwrap_or_else(|| {
52 cold_path();
53 unreachable!("ValueStack underflow, this is a bug");
54 })
55 }
56
57 #[inline(always)]
58 pub(crate) fn last(&self) -> &T {

Callers 6

visit_local_teeMethod · 0.80
visit_endMethod · 0.80
pop_frameMethod · 0.80
truncate_to_one_tailMethod · 0.80
eval_constMethod · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64