| Index: src/x87/codegen-x87.cc
|
| diff --git a/src/x87/codegen-x87.cc b/src/x87/codegen-x87.cc
|
| index 776edeb646240249dc265a9a1b5ddcc432615f4b..06b6262a9b8ae2a8484be9516f8ff5ce9332b8a3 100644
|
| --- a/src/x87/codegen-x87.cc
|
| +++ b/src/x87/codegen-x87.cc
|
| @@ -275,10 +275,9 @@ void ElementsTransitionGenerator::GenerateSmiToDouble(
|
| // Allocate new FixedDoubleArray.
|
| // edx: receiver
|
| // edi: length of source FixedArray (smi-tagged)
|
| - AllocationFlags flags =
|
| - static_cast<AllocationFlags>(TAG_OBJECT | DOUBLE_ALIGNMENT);
|
| __ Allocate(FixedDoubleArray::kHeaderSize, times_8, edi,
|
| - REGISTER_VALUE_IS_SMI, eax, ebx, no_reg, &gc_required, flags);
|
| + REGISTER_VALUE_IS_SMI, eax, ebx, no_reg, &gc_required,
|
| + DOUBLE_ALIGNMENT);
|
|
|
| // eax: destination FixedDoubleArray
|
| // edi: number of elements
|
| @@ -391,7 +390,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
|
|
|