Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index a3e17a68bdacc00ac8a6832568b51bf6e9bff8dd..f08a269e85b576e46b7036fdbd6febc94732687b 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -4347,31 +4347,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()); |
- Comment cmt(masm_, comment); |
- UnaryOpStub stub(expr->op()); |
- // UnaryOpStub expects the argument to be in the |
- // accumulator register eax. |
- VisitForAccumulatorValue(expr->expression()); |
- SetSourcePosition(expr->position()); |
- CallIC(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, |
- expr->UnaryOperationFeedbackId()); |
- context()->Plug(eax); |
-} |
- |
- |
void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
Comment cmnt(masm_, "[ CountOperation"); |
SetSourcePosition(expr->position()); |