Index: src/full-codegen.cc |
=================================================================== |
--- src/full-codegen.cc (revision 3712) |
+++ src/full-codegen.cc (working copy) |
@@ -419,17 +419,15 @@ |
void FullCodeGenSyntaxChecker::VisitUnaryOperation(UnaryOperation* expr) { |
switch (expr->op()) { |
case Token::ADD: |
+ case Token::BIT_NOT: |
case Token::NOT: |
+ case Token::SUB: |
case Token::TYPEOF: |
case Token::VOID: |
Visit(expr->expression()); |
break; |
- case Token::BIT_NOT: |
- BAILOUT("UnaryOperation: BIT_NOT"); |
case Token::DELETE: |
BAILOUT("UnaryOperation: DELETE"); |
- case Token::SUB: |
- BAILOUT("UnaryOperation: SUB"); |
default: |
UNREACHABLE(); |
} |