Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index 4220d2110db1118138f309f963dc19f99a059582..ad4fbdb9efc7cbf5c4337fa37ae4fe6bdf855762 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -419,13 +419,6 @@ void AstTyper::VisitUnaryOperation(UnaryOperation* expr) { |
case Token::VOID: |
NarrowType(expr, Bounds(Type::Undefined(), isolate_)); |
break; |
- case Token::ADD: |
- case Token::SUB: { |
- Type* upper = *expr->expression()->bounds().upper; |
- if (!upper->Is(Type::Number())) upper = Type::Number(); |
- NarrowType(expr, Bounds(Type::Smi(), upper, isolate_)); |
- break; |
- } |
case Token::BIT_NOT: |
NarrowType(expr, Bounds(Type::Smi(), Type::Signed32(), isolate_)); |
break; |