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

Method ctrl_typeset

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

Get the typeset of allowed types for the controlling type variable in a polymorphic instruction.

(self)

Source from the content-addressed store, hash-verified

789 /// Get the typeset of allowed types for the controlling type variable in a polymorphic
790 /// instruction.
791 pub fn ctrl_typeset(self) -> Option<ValueTypeSet> {
792 self.typeset_offset().map(|offset| TYPE_SETS[offset])
793 }
794
795 /// Is this instruction polymorphic?
796 pub fn is_polymorphic(self) -> bool {

Callers 4

infer_typevarMethod · 0.80
is_polymorphicMethod · 0.80
typecheckMethod · 0.80

Calls 2

typeset_offsetMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected