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

Method inst_variable_args_mut

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

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

(&mut self, inst: Inst)

Source from the content-addressed store, hash-verified

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] {
954 let num_fixed_args = self.insts[inst]
955 .opcode()
956 .constraints()
957 .num_fixed_value_arguments();
958 &mut self.inst_args_mut(inst)[num_fixed_args..]
959 }
960
961 /// Create result values for an instruction that produces multiple results.
962 ///

Callers

nothing calls this directly

Calls 4

constraintsMethod · 0.80
inst_args_mutMethod · 0.80
opcodeMethod · 0.45

Tested by

no test coverage detected