| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 844958ec47474e2f9dfe8b4704911f8fb8112db2..bd37a7a1d000187c5a1ac26fcd8769c23a47588b 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -4624,7 +4624,7 @@ void FastNewRestParameterStub::Generate(MacroAssembler* masm) {
|
| Label too_big_for_new_space;
|
| __ bind(&allocate);
|
| __ Branch(&too_big_for_new_space, gt, t0,
|
| - Operand(Page::kMaxRegularHeapObjectSize));
|
| + Operand(kMaxRegularHeapObjectSize));
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| __ SmiTag(t0);
|
| @@ -4968,8 +4968,7 @@ void FastNewStrictArgumentsStub::Generate(MacroAssembler* masm) {
|
| // Fall back to %AllocateInNewSpace (if not too big).
|
| Label too_big_for_new_space;
|
| __ bind(&allocate);
|
| - __ Branch(&too_big_for_new_space, gt, t0,
|
| - Operand(Page::kMaxRegularHeapObjectSize));
|
| + __ Branch(&too_big_for_new_space, gt, t0, Operand(kMaxRegularHeapObjectSize));
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| __ SmiTag(t0);
|
|
|