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 1e8e55c2e0a265800fc6889624081b79ca9fdc3e..00761c4857a6467208403bd16cb59253dc4fec50 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -4955,7 +4955,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)); |
} |
} |