Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 11df938089335a8f96aaddbe5828bf66f875c59e..e055682fb1e277d260f2bff1c53385dda9cb57d7 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -4366,10 +4366,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
void FullCodeGenerator::EmitUnaryOperation(UnaryOperation* expr, |
const char* comment) { |
Comment cmt(masm_, comment); |
- bool can_overwrite = expr->expression()->ResultOverwriteAllowed(); |
- UnaryOverwriteMode overwrite = |
- can_overwrite ? UNARY_OVERWRITE : UNARY_NO_OVERWRITE; |
- UnaryOpStub stub(expr->op(), overwrite); |
+ UnaryOpStub stub(expr->op()); |
// UnaryOpStub expects the argument to be in the |
// accumulator register eax. |
VisitForAccumulatorValue(expr->expression()); |