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

Method constraints

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

Get the constraint descriptor for this opcode. Panic if this is called on `NotAnOpcode`.

(self)

Source from the content-addressed store, hash-verified

309 /// Get the constraint descriptor for this opcode.
310 /// Panic if this is called on `NotAnOpcode`.
311 pub fn constraints(self) -> OpcodeConstraints {
312 OPCODE_CONSTRAINTS[self as usize - 1]
313 }
314
315 /// Is this instruction a GC safepoint?
316 ///

Callers 14

infer_typevarMethod · 0.80
insert_opcodeFunction · 0.80
type_suffixFunction · 0.80
inst_fixed_argsMethod · 0.80
inst_fixed_args_mutMethod · 0.80
inst_variable_argsMethod · 0.80
inst_result_typesMethod · 0.80
ctrl_typevarMethod · 0.80
constraintsFunction · 0.80

Calls

no outgoing calls

Tested by 1

constraintsFunction · 0.64