| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 462ee4c529e3a79787af2e50773fbf8affb499b0..8faa29cedae5f1e09d0b2bd742bb88995176d95c 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -4872,7 +4872,7 @@ void ArgumentsAccessStub::GenerateNewNonStrictFast(MacroAssembler* masm) {
|
| __ Addu(t5, t5, Operand(Heap::kArgumentsObjectSize));
|
|
|
| // Do the allocation of all three objects in one go.
|
| - __ AllocateInNewSpace(t5, v0, a3, t0, &runtime, TAG_OBJECT);
|
| + __ Allocate(t5, v0, a3, t0, &runtime, TAG_OBJECT);
|
|
|
| // v0 = address of new object(s) (tagged)
|
| // a2 = argument count (tagged)
|
| @@ -5063,13 +5063,8 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
|
| __ Addu(a1, a1, Operand(Heap::kArgumentsObjectSizeStrict / kPointerSize));
|
|
|
| // Do the allocation of both objects in one go.
|
| - __ AllocateInNewSpace(a1,
|
| - v0,
|
| - a2,
|
| - a3,
|
| - &runtime,
|
| - static_cast<AllocationFlags>(TAG_OBJECT |
|
| - SIZE_IN_WORDS));
|
| + __ Allocate(a1, v0, a2, a3, &runtime,
|
| + static_cast<AllocationFlags>(TAG_OBJECT | SIZE_IN_WORDS));
|
|
|
| // Get the arguments boilerplate from the current native context.
|
| __ lw(t0, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| @@ -5589,7 +5584,7 @@ void RegExpConstructResultStub::Generate(MacroAssembler* masm) {
|
| (JSRegExpResult::kSize + FixedArray::kHeaderSize) / kPointerSize;
|
| __ srl(t1, a1, kSmiTagSize + kSmiShiftSize);
|
| __ Addu(a2, t1, Operand(objects_size));
|
| - __ AllocateInNewSpace(
|
| + __ Allocate(
|
| a2, // In: Size, in words.
|
| v0, // Out: Start of allocation (tagged).
|
| a3, // Scratch register.
|
|
|