| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 88207c490777d3b3d0eaffd5a8e96c8b01987dda..009bbe3ae9d0880f5ba6a6f48e9d757cb5d1ee7b 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -3558,7 +3558,7 @@ void ArgumentsAccessStub::GenerateNewNonStrictFast(MacroAssembler* masm) {
|
| __ add(ebx, Immediate(Heap::kArgumentsObjectSize));
|
|
|
| // Do the allocation of all three objects in one go.
|
| - __ AllocateInNewSpace(ebx, eax, edx, edi, &runtime, TAG_OBJECT);
|
| + __ Allocate(ebx, eax, edx, edi, &runtime, TAG_OBJECT);
|
|
|
| // eax = address of new object(s) (tagged)
|
| // ecx = argument count (tagged)
|
| @@ -3756,7 +3756,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
|
| __ add(ecx, Immediate(Heap::kArgumentsObjectSizeStrict));
|
|
|
| // Do the allocation of both objects in one go.
|
| - __ AllocateInNewSpace(ecx, eax, edx, ebx, &runtime, TAG_OBJECT);
|
| + __ Allocate(ecx, eax, edx, ebx, &runtime, TAG_OBJECT);
|
|
|
| // Get the arguments boilerplate from the current native context.
|
| __ mov(edi, Operand(esi, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| @@ -4280,15 +4280,15 @@ void RegExpConstructResultStub::Generate(MacroAssembler* masm) {
|
| // Allocate RegExpResult followed by FixedArray with size in ebx.
|
| // JSArray: [Map][empty properties][Elements][Length-smi][index][input]
|
| // Elements: [Map][Length][..elements..]
|
| - __ AllocateInNewSpace(JSRegExpResult::kSize + FixedArray::kHeaderSize,
|
| - times_pointer_size,
|
| - ebx, // In: Number of elements as a smi
|
| - REGISTER_VALUE_IS_SMI,
|
| - eax, // Out: Start of allocation (tagged).
|
| - ecx, // Out: End of allocation.
|
| - edx, // Scratch register
|
| - &slowcase,
|
| - TAG_OBJECT);
|
| + __ Allocate(JSRegExpResult::kSize + FixedArray::kHeaderSize,
|
| + times_pointer_size,
|
| + ebx, // In: Number of elements as a smi
|
| + REGISTER_VALUE_IS_SMI,
|
| + eax, // Out: Start of allocation (tagged).
|
| + ecx, // Out: End of allocation.
|
| + edx, // Scratch register
|
| + &slowcase,
|
| + TAG_OBJECT);
|
| // eax: Start of allocated area, object-tagged.
|
|
|
| // Set JSArray map to global.regexp_result_map().
|
|
|