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

Method vm_store_context

crates/wasmtime/src/runtime/vm/instance.rs:540–542  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

538 /// Return a pointer to the interrupts structure
539 #[inline]
540 pub fn vm_store_context(&self) -> NonNull<Option<VmPtr<VMStoreContext>>> {
541 unsafe { self.vmctx_plus_offset_raw(self.offsets().ptr.vmctx_store_context()) }
542 }
543
544 /// Return a pointer to the global epoch counter used by this instance.
545 #[cfg(target_has_atomic = "64")]

Callers 8

set_threadMethod · 0.45
compute_handlerFunction · 0.45
unwindMethod · 0.45
set_storeMethod · 0.45
initialize_vmctxMethod · 0.45
newMethod · 0.45
traceMethod · 0.45
activationsMethod · 0.45

Calls 3

vmctx_plus_offset_rawMethod · 0.80
vmctx_store_contextMethod · 0.80
offsetsMethod · 0.45

Tested by

no test coverage detected