| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 70d507ad71f5e1b297eff05af7af3e57cc72a8f7..a23f44ad4e29d7be929d9e76ba4615bc5dbfdfed 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -3577,7 +3577,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)
|
| @@ -3775,7 +3775,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)));
|
| @@ -4299,15 +4299,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().
|
|
|