1use crate::records::ir_op::IrOp; 2 3impl IrOp { 4 #[inline] 5 pub fn ir_op_operator_eq(&self, rhs: IrOp) -> bool { 6 self.kind() == rhs.kind() && self.index() == rhs.index() 7 } 8}