| Index: src/arm/full-codegen-arm.cc
|
| diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc
|
| index 3bcfc3b13cd503a8132b8a4297be393573f1310b..dd347928d7416b6296afcba1a6198b40d7ae15da 100644
|
| --- a/src/arm/full-codegen-arm.cc
|
| +++ b/src/arm/full-codegen-arm.cc
|
| @@ -4349,10 +4349,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;
|
| @@ -4365,6 +4361,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
|
|
| void FullCodeGenerator::EmitUnaryOperation(UnaryOperation* expr,
|
| const char* comment) {
|
| + ASSERT_EQ(Token::BIT_NOT, expr->op());
|
| // TODO(svenpanne): Allowing format strings in Comment would be nice here...
|
| Comment cmt(masm_, comment);
|
| UnaryOpStub stub(expr->op());
|
|
|