| Index: src/x64/full-codegen-x64.cc
|
| diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc
|
| index f2d98eb052893a09b2e9eaea4f25af6c5a01bb1d..a97279616d21454dbccaa521a272934beaf947d7 100644
|
| --- a/src/x64/full-codegen-x64.cc
|
| +++ b/src/x64/full-codegen-x64.cc
|
| @@ -4356,10 +4356,7 @@ void FullCodeGenerator::EmitUnaryOperation(UnaryOperation* expr,
|
| const char* comment) {
|
| // TODO(svenpanne): Allowing format strings in Comment would be nice here...
|
| 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 rax.
|
| VisitForAccumulatorValue(expr->expression());
|
|
|