| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index cf3132d33fd1ff0bb12825bdb0866779d2963c95..6e98645c66accfa0351f49fc15d6ba1b9e8d8dcb 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -4363,10 +4363,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());
|
|
|