Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index c76879a75f9a0298ceaffaf271fc15bed3c28560..5fae5f72237cc824f27bae036f158a0df0ebed92 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -2341,7 +2341,8 @@ Range* HBitwise::InferRange(Zone* zone) { |
if (right_lower < 0) right_lower = ~right_lower; |
int high = MostSignificantBit( |
- left_upper | left_lower | right_upper | right_lower); |
+ static_cast<uint32_t>( |
+ left_upper | left_lower | right_upper | right_lower)); |
int64_t limit = 1; |
limit <<= high; |