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

Method inst_fixed_args

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

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

(&self, inst: Inst)

Source from the content-addressed store, hash-verified

924
925 /// Get the fixed value arguments on `inst` as a slice.
926 pub fn inst_fixed_args(&self, inst: Inst) -> &[Value] {
927 let num_fixed_args = self.insts[inst]
928 .opcode()
929 .constraints()
930 .num_fixed_value_arguments();
931 &self.inst_args(inst)[..num_fixed_args]
932 }
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] {

Callers 1

typecheck_fixed_argsMethod · 0.80

Calls 4

constraintsMethod · 0.80
inst_argsMethod · 0.80
opcodeMethod · 0.45

Tested by

no test coverage detected