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

Method typevar_operand

cranelift/codegen/meta/src/cdsl/formats.rs:143–148  ·  view source on GitHub ↗
(mut self, operand_index: usize)

Source from the content-addressed store, hash-verified

141 }
142
143 pub fn typevar_operand(mut self, operand_index: usize) -> Self {
144 assert!(self.0.typevar_operand.is_none());
145 assert!(operand_index < self.0.num_value_operands);
146 self.0.typevar_operand = Some(operand_index);
147 self
148 }
149
150 pub fn build(mut self) -> Rc<InstructionFormat> {
151 if self.0.typevar_operand.is_none() && self.0.num_value_operands > 0 {

Callers 4

infer_typevarMethod · 0.80
type_suffixFunction · 0.80
ctrl_typevarMethod · 0.80
newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected