Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index 586ffef5cc0321708ed68ac9973df4236f5ab350..550c83d51adad7225b995218a43e0ccf2c5327dc 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 |