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

Method inst_variable_args

cranelift/codegen/src/ir/dfg.rs:944–950  ·  view source on GitHub ↗

Get the variable value arguments on `inst` as a slice.

(&self, inst: Inst)

Source from the content-addressed store, hash-verified

942
943 /// Get the variable value arguments on `inst` as a slice.
944 pub fn inst_variable_args(&self, inst: Inst) -> &[Value] {
945 let num_fixed_args = self.insts[inst]
946 .opcode()
947 .constraints()
948 .num_fixed_value_arguments();
949 &self.inst_args(inst)[num_fixed_args..]
950 }
951
952 /// Get the variable value arguments on `inst` as a mutable slice.
953 pub fn inst_variable_args_mut(&mut self, inst: Inst) -> &mut [Value] {

Callers

nothing calls this directly

Calls 4

constraintsMethod · 0.80
inst_argsMethod · 0.80
opcodeMethod · 0.45

Tested by

no test coverage detected