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

Method push

winch/codegen/src/stack.rs:379–381  ·  view source on GitHub ↗

Push a value to the stack.

(&mut self, val: Val)

Source from the content-addressed store, hash-verified

377
378 /// Push a value to the stack.
379 pub fn push(&mut self, val: Val) {
380 self.inner.push(val);
381 }
382
383 /// Peek into the top in the stack.
384 pub fn peek(&self) -> Option<&Val> {

Callers 15

disas_pulleyFunction · 0.45
addrmapMethod · 0.45
trapsMethod · 0.45
stack_mapsMethod · 0.45
exception_tableMethod · 0.45
frame_tableMethod · 0.45
breakpointsMethod · 0.45
describe_local_shapeMethod · 0.45
describe_stack_shapeMethod · 0.45
parse_perf_scriptFunction · 0.45
build_basic_blocksFunction · 0.45

Calls

no outgoing calls

Tested by 11

test_pop_i32_constFunction · 0.36
test_pop_regFunction · 0.36
test_pop_named_regFunction · 0.36
call_wrapped_funcFunction · 0.36
run_much_stdoutFunction · 0.36
use_after_dropFunction · 0.36
test_recurseFunction · 0.36
runFunction · 0.36
test_dwarf_simpleFunction · 0.36