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

Method get_current_function

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

Source from the content-addressed store, hash-verified

243 .get_from_func_ref(func_ref, self.frame_stack.last().unwrap().function())
244 }
245 fn get_current_function(&self) -> &'a Function {
246 self.current_frame().function()
247 }
248
249 fn get_libcall_handler(&self) -> LibCallHandler {
250 self.libcall_handler

Callers 4

stepFunction · 0.80
stack_addressMethod · 0.80
function_addressMethod · 0.80
resolve_global_valueMethod · 0.80

Calls 2

current_frameMethod · 0.80
functionMethod · 0.45

Tested by

no test coverage detected