| Index: src/arm/full-codegen-arm.cc
|
| diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc
|
| index dd347928d7416b6296afcba1a6198b40d7ae15da..b73006a17d99136d69d5b8a782ae3134fdd20675 100644
|
| --- a/src/arm/full-codegen-arm.cc
|
| +++ b/src/arm/full-codegen-arm.cc
|
| @@ -4349,32 +4349,12 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
| break;
|
| }
|
|
|
| - case Token::BIT_NOT:
|
| - EmitUnaryOperation(expr, "[ UnaryOperation (BIT_NOT)");
|
| - break;
|
| -
|
| default:
|
| UNREACHABLE();
|
| }
|
| }
|
|
|
|
|
| -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());
|
| - // UnaryOpStub expects the argument to be in the
|
| - // accumulator register r0.
|
| - VisitForAccumulatorValue(expr->expression());
|
| - SetSourcePosition(expr->position());
|
| - CallIC(stub.GetCode(isolate()), RelocInfo::CODE_TARGET,
|
| - expr->UnaryOperationFeedbackId());
|
| - context()->Plug(r0);
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::VisitCountOperation(CountOperation* expr) {
|
| Comment cmnt(masm_, "[ CountOperation");
|
| SetSourcePosition(expr->position());
|
|
|