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

Method len

crates/tinywasm/src/interpreter/stack/call_stack.rs:25–27  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

23
24 #[inline(always)]
25 pub(crate) fn len(&self) -> u32 {
26 self.stack.len() as u32
27 }
28
29 pub(crate) fn truncate_to(&mut self, len: u32) {
30 debug_assert!(len as usize <= self.stack.len());

Callers 5

exec_memory_fill_implMethod · 0.45
exec_memory_initMethod · 0.45
pop_frameMethod · 0.45
pushMethod · 0.45
ensure_capacity_forMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected