(&self, other: &Self)
| 608 | |
| 609 | impl PartialEq for InstNode { |
| 610 | fn eq(&self, other: &Self) -> bool { |
| 611 | // Ignore the sequence number as it is an optimization used by pp_cmp and may be different |
| 612 | // even for equivalent layouts. |
| 613 | self.block == other.block && self.prev == other.prev && self.next == other.next |
| 614 | } |
| 615 | } |
| 616 | |
| 617 | impl core::hash::Hash for InstNode { |