Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index 0611d7e0781079a7c228e81c3cd174df11e6e51e..df2cee51e9e7553404a10004922c53de4ee89294 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -497,8 +497,6 @@ void AstTyper::VisitCallRuntime(CallRuntime* expr) { |
void AstTyper::VisitUnaryOperation(UnaryOperation* expr) { |
// Collect type feedback. |
- Handle<Type> op_type = oracle()->UnaryType(expr->UnaryOperationFeedbackId()); |
- NarrowLowerType(expr->expression(), op_type); |
if (expr->op() == Token::NOT) { |
// TODO(rossberg): only do in test or value context. |
expr->expression()->RecordToBooleanTypeFeedback(oracle()); |
@@ -514,9 +512,6 @@ void AstTyper::VisitUnaryOperation(UnaryOperation* expr) { |
case Token::VOID: |
NarrowType(expr, Bounds(Type::Undefined(), isolate_)); |
break; |
- case Token::BIT_NOT: |
- NarrowType(expr, Bounds(Type::Smi(), Type::Signed32(), isolate_)); |
- break; |
case Token::TYPEOF: |
NarrowType(expr, Bounds(Type::InternalizedString(), isolate_)); |
break; |