| Index: src/ia32/codegen-ia32.cc
|
| diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc
|
| index b3fce81a32fda8679333d01b0f9341445d2c4255..6e6a42a51b1d9f3d0a9c4075e37e0bc6d11a5425 100644
|
| --- a/src/ia32/codegen-ia32.cc
|
| +++ b/src/ia32/codegen-ia32.cc
|
| @@ -450,9 +450,8 @@ void ElementsTransitionGenerator::GenerateSmiToDouble(
|
| // edi: length of source FixedArray (smi-tagged)
|
| AllocationFlags flags =
|
| static_cast<AllocationFlags>(TAG_OBJECT | DOUBLE_ALIGNMENT);
|
| - __ AllocateInNewSpace(FixedDoubleArray::kHeaderSize, times_8,
|
| - edi, REGISTER_VALUE_IS_SMI,
|
| - eax, ebx, no_reg, &gc_required, flags);
|
| + __ Allocate(FixedDoubleArray::kHeaderSize, times_8, edi,
|
| + REGISTER_VALUE_IS_SMI, eax, ebx, no_reg, &gc_required, flags);
|
|
|
| // eax: destination FixedDoubleArray
|
| // edi: number of elements
|
| @@ -589,7 +588,7 @@ void ElementsTransitionGenerator::GenerateDoubleToObject(
|
| // Allocate new FixedArray.
|
| // ebx: length of source FixedDoubleArray (smi-tagged)
|
| __ lea(edi, Operand(ebx, times_2, FixedArray::kHeaderSize));
|
| - __ AllocateInNewSpace(edi, eax, esi, no_reg, &gc_required, TAG_OBJECT);
|
| + __ Allocate(edi, eax, esi, no_reg, &gc_required, TAG_OBJECT);
|
|
|
| // eax: destination FixedArray
|
| // ebx: number of elements
|
|
|