Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 7732a1d400ede5dab19ef759e0bc202223b3d830..66bc38b2601e6df026f548dd7fe10c20de03343f 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -27,7 +27,7 @@ |
#include "v8.h" |
-#if defined(V8_TARGET_ARCH_X64) |
+#if V8_TARGET_ARCH_X64 |
#include "code-stubs.h" |
#include "codegen.h" |
@@ -4353,10 +4353,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()); |