Simplify implementation of Rust intrinsics by using type parameters in the cache

This commit is contained in:
sayantn 2025-05-30 21:41:36 +05:30
parent 9f85857bce
commit fa425db34f

View file

@ -897,7 +897,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
fn checked_binop(
&mut self,
oop: OverflowOp,
typ: Ty<'_>,
typ: Ty<'tcx>,
lhs: Self::Value,
rhs: Self::Value,
) -> (Self::Value, Self::Value) {