Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index f3e5a5032397a99bd8005ed8f5b0d15d3620102f..6333e87bea1b6c2ed82cd2b4ea153dd0cc917890 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -4335,32 +4335,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 rax. |
- VisitForAccumulatorValue(expr->expression()); |
- SetSourcePosition(expr->position()); |
- CallIC(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, |
- expr->UnaryOperationFeedbackId()); |
- context()->Plug(rax); |
-} |
- |
- |
void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
Comment cmnt(masm_, "[ CountOperation"); |
SetSourcePosition(expr->position()); |