Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index 422b7271b4e9b7ecd76dc74cac8e1017361006c6..45db1879233bb5a059a106fa022a50a8436be170 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -1493,10 +1493,8 @@ void LCodeGen::DoDeferredAllocate(LAllocate* instr) { |
ExternalReference allocation_top = |
AllocationUtils::GetAllocationTopReference(isolate(), allocation_flags); |
Register top_address = x10; |
- __ Sub(x0, x0, Operand(kHeapObjectTag)); |
__ Mov(top_address, Operand(allocation_top)); |
__ Str(x0, MemOperand(top_address)); |
- __ Add(x0, x0, Operand(kHeapObjectTag)); |
} |
} |