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

Method new_u64

pulley/src/interp.rs:449–453  ·  view source on GitHub ↗
(x: u64)

Source from the content-addressed store, hash-verified

447 }
448
449 pub fn new_u64(x: u64) -> Self {
450 let mut val = XRegVal::default();
451 val.set_u64(x);
452 val
453 }
454
455 pub fn new_ptr<T>(ptr: *mut T) -> Self {
456 let mut val = XRegVal::default();

Callers

nothing calls this directly

Calls 1

set_u64Method · 0.45

Tested by

no test coverage detected