(self, other: Self)
| 736 | } |
| 737 | |
| 738 | fn shl(self, other: Self) -> ValueResult<Self> { |
| 739 | let amt = other.convert(ValueConversionKind::Exact(types::I32))?; |
| 740 | binary_match!(wrapping_shl(&self, &amt); [I8, I16, I32, I64, I128]; [i8, i16, i32, i64, i128]; rhs: I32,u32) |
| 741 | } |
| 742 | |
| 743 | fn ushr(self, other: Self) -> ValueResult<Self> { |
| 744 | let amt = other.convert(ValueConversionKind::Exact(types::I32))?; |