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

Method inst_fixed_args_mut

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

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

(&mut self, inst: Inst)

Source from the content-addressed store, hash-verified

933
934 /// Get the fixed value arguments on `inst` as a mutable slice.
935 pub fn inst_fixed_args_mut(&mut self, inst: Inst) -> &mut [Value] {
936 let num_fixed_args = self.insts[inst]
937 .opcode()
938 .constraints()
939 .num_fixed_value_arguments();
940 &mut self.inst_args_mut(inst)[..num_fixed_args]
941 }
942
943 /// Get the variable value arguments on `inst` as a slice.
944 pub fn inst_variable_args(&self, inst: Inst) -> &[Value] {

Callers

nothing calls this directly

Calls 4

constraintsMethod · 0.80
inst_args_mutMethod · 0.80
opcodeMethod · 0.45

Tested by

no test coverage detected