Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index 2190531b435d575c8b331fa57985b37dc18e88ba..36c83cce238357b2e0d37a41d1c2e30181a0101b 100644 |
--- a/src/ia32/codegen-ia32.cc |
+++ b/src/ia32/codegen-ia32.cc |
@@ -586,8 +586,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
// Allocate new FixedDoubleArray. |
// edx: receiver |
// edi: length of source FixedArray (smi-tagged) |
- AllocationFlags flags = |
- static_cast<AllocationFlags>(TAG_OBJECT | DOUBLE_ALIGNMENT); |
+ AllocationFlags flags = static_cast<AllocationFlags>(DOUBLE_ALIGNMENT); |
__ Allocate(FixedDoubleArray::kHeaderSize, times_8, edi, |
REGISTER_VALUE_IS_SMI, eax, ebx, no_reg, &gc_required, flags); |
@@ -714,7 +713,7 @@ void ElementsTransitionGenerator::GenerateDoubleToObject( |
// Allocate new FixedArray. |
// ebx: length of source FixedDoubleArray (smi-tagged) |
__ lea(edi, Operand(ebx, times_2, FixedArray::kHeaderSize)); |
- __ Allocate(edi, eax, esi, no_reg, &gc_required, TAG_OBJECT); |
+ __ Allocate(edi, eax, esi, no_reg, &gc_required, NO_ALLOCATION_FLAGS); |
// eax: destination FixedArray |
// ebx: number of elements |