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

Method into_value_list

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

Convert this to a value list in `pool` with `fixed` prepended.

(self, fixed: &[Value], pool: &mut ValueListPool)

Source from the content-addressed store, hash-verified

374
375 /// Convert this to a value list in `pool` with `fixed` prepended.
376 pub fn into_value_list(self, fixed: &[Value], pool: &mut ValueListPool) -> ValueList {
377 let mut vlist = ValueList::default();
378 vlist.extend(fixed.iter().cloned(), pool);
379 vlist.extend(self.0, pool);
380 vlist
381 }
382}
383
384// Coerce `VariableArgs` into a `&[Value]` slice.

Callers 1

parse_inst_operandsMethod · 0.80

Calls 2

extendMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected