wasm: fix miscompilation for shifting

This fix ensures that when we are shifting left or right,
both operands have the same WebAssembly type. e.g. it's not possible
to shift a 64 bit integer and 32 bit integer together and will fail
WebAssembly's validator. By first coercing the values to the same
type, we ensure we satisfy the validator.
e20976b7f2Luuk de Gram committed on 5/19/2023, 6:18:59 PMparentd353d20
1 file changedLine totals unavailable