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

Method append_argument

cranelift/codegen/src/ir/instructions.rs:98–100  ·  view source on GitHub ↗

Append an argument to the block args.

(&mut self, arg: impl Into<BlockArg>, pool: &mut ValueListPool)

Source from the content-addressed store, hash-verified

96
97 /// Append an argument to the block args.
98 pub fn append_argument(&mut self, arg: impl Into<BlockArg>, pool: &mut ValueListPool) {
99 self.values.push(arg.into().encode_as_value(), pool);
100 }
101
102 /// Return the length of the argument list.
103 pub fn len(&self, pool: &ValueListPool) -> usize {

Callers 1

Calls 2

encode_as_valueMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected