Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 0a26dbe431cafd0db210a40d9d6c454d8ceea196..b60502c9a5bffa8bdb23daa3ea27fe425b5ab123 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -4382,32 +4382,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()); |
- // GenericUnaryOpStub expects the argument to be in a0. |
- VisitForAccumulatorValue(expr->expression()); |
- SetSourcePosition(expr->position()); |
- __ mov(a0, result_register()); |
- CallIC(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, |
- expr->UnaryOperationFeedbackId()); |
- context()->Plug(v0); |
-} |
- |
- |
void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
Comment cmnt(masm_, "[ CountOperation"); |
SetSourcePosition(expr->position()); |