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

Method result_location

crates/fiber/src/unix.rs:310–316  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

308 }
309
310 unsafe fn result_location<A, B, C>(&self) -> *const Cell<RunResult<A, B, C>> {
311 unsafe {
312 let ret = self.top_of_stack.cast::<*const u8>().offset(-1).read();
313 assert!(!ret.is_null());
314 ret.cast()
315 }
316 }
317}
318
319/// Support for AddressSanitizer to support stack manipulations we do in this

Callers

nothing calls this directly

Calls 3

readMethod · 0.45
offsetMethod · 0.45
castMethod · 0.45

Tested by

no test coverage detected