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

Method last

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

Source from the content-addressed store, hash-verified

56
57 #[inline(always)]
58 pub(crate) fn last(&self) -> &T {
59 self.data.last().unwrap_or_else(|| {
60 cold_path();
61 unreachable!("ValueStack underflow, this is a bug");
62 })
63 }
64
65 #[inline(always)]
66 pub(crate) fn get(&self, index: usize) -> &T {

Callers 4

remove_nopFunction · 0.45
visit_local_teeMethod · 0.45
visit_elseMethod · 0.45
save_csvMethod · 0.45

Calls

no outgoing calls

Tested by 1

save_csvMethod · 0.36