Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index c3fd9c0142c3e112b00739ed1d3b4589230485ad..87e3a6e3392408e5c4a123e0337d5d29e5574246 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -604,7 +604,7 @@ void AstTyper::VisitBinaryOperation(BinaryOperation* expr) { |
RECURSE(Visit(expr->left())); |
RECURSE(Visit(expr->right())); |
// TODO(rossberg): we could use an UnsignedSmi as lower bound here... |
- NarrowType(expr, Bounds(Type::Unsigned32(), isolate_)); |
+ NarrowType(expr, Bounds(Type::Smi(), Type::Number(), isolate_)); |
break; |
case Token::ADD: { |
RECURSE(Visit(expr->left())); |