Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index a5684f6aba45efb5a04f4d1eca736c4a57934120..a3e17a68bdacc00ac8a6832568b51bf6e9bff8dd 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -4347,10 +4347,6 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
break; |
} |
- case Token::SUB: |
- EmitUnaryOperation(expr, "[ UnaryOperation (SUB)"); |
- break; |
- |
case Token::BIT_NOT: |
EmitUnaryOperation(expr, "[ UnaryOperation (BIT_NOT)"); |
break; |
@@ -4363,6 +4359,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
void FullCodeGenerator::EmitUnaryOperation(UnaryOperation* expr, |
const char* comment) { |
+ ASSERT_EQ(Token::BIT_NOT, expr->op()); |
Comment cmt(masm_, comment); |
UnaryOpStub stub(expr->op()); |
// UnaryOpStub expects the argument to be in the |