Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index 2cef17466fba30cce512c7d16ad7d8067468ad9e..5c89cc746f0bfaba6c92e968d562dcb0f96b0222 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -4966,7 +4966,9 @@ |
// undo the allocation. |
ExternalReference allocation_top = |
AllocationUtils::GetAllocationTopReference(isolate(), allocation_flags); |
+ __ sub(eax, Immediate(kHeapObjectTag)); |
__ mov(Operand::StaticVariable(allocation_top), eax); |
+ __ add(eax, Immediate(kHeapObjectTag)); |
} |
} |