Method
ctx_eq
(
&self,
(a_ty, a_inst): &(Type, InstructionData),
(b_ty, b_inst): &(Type, InstructionData),
)
Source from the content-addressed store, hash-verified
| 1105 | |
| 1106 | impl<'a> CtxEq<(Type, InstructionData), (Type, InstructionData)> for GVNContext<'a> { |
| 1107 | fn ctx_eq( |
| 1108 | &self, |
| 1109 | (a_ty, a_inst): &(Type, InstructionData), |
| 1110 | (b_ty, b_inst): &(Type, InstructionData), |
| 1111 | ) -> bool { |
| 1112 | a_ty == b_ty && a_inst.eq(b_inst, self.value_lists) |
| 1113 | } |
| 1114 | } |
| 1115 | |
| 1116 | impl<'a> CtxHash<(Type, InstructionData)> for GVNContext<'a> { |
Callers
nothing calls this directly
Tested by
no test coverage detected