[][src]Function cranelift_codegen_meta::gen_encodings::emit_instp

fn emit_instp(instp: &InstructionPredicate, has_func: bool, fmt: &mut Formatter)

Emit code for matching an instruction predicate against an InstructionData reference called inst.

The generated code is an if let pattern match that falls through if the instruction has an unexpected format. This should lead to a panic.