MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / current_frame

Method current_frame

cranelift/interpreter/src/interpreter.rs:285–291  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

283 }
284
285 fn current_frame(&self) -> &Frame<'a> {
286 let num_frames = self.frame_stack.len();
287 match num_frames {
288 0 => panic!("unable to retrieve the current frame because no frames were pushed"),
289 _ => &self.frame_stack[num_frames - 1],
290 }
291 }
292
293 fn stack_address(
294 &self,

Callers 4

stepFunction · 0.80
collect_valuesMethod · 0.80
get_current_functionMethod · 0.80
resolve_global_valueMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected