1use crate::records::ir_inst::IrInst; 2 3#[inline] 4pub fn has_op(inst: &IrInst, idx: u32) -> bool { 5 idx < inst.ops.size() as u32 6}