| Index: src/s390/code-stubs-s390.cc
|
| diff --git a/src/s390/code-stubs-s390.cc b/src/s390/code-stubs-s390.cc
|
| index ce8038418d46b660fd92f1d75c1c6e35c5dc709c..1cc1413e375d4fa2d553d01a30c7b6ae76ea9841 100644
|
| --- a/src/s390/code-stubs-s390.cc
|
| +++ b/src/s390/code-stubs-s390.cc
|
| @@ -4521,7 +4521,7 @@ void FastNewRestParameterStub::Generate(MacroAssembler* masm) {
|
| // Fall back to %AllocateInNewSpace (if not too big).
|
| Label too_big_for_new_space;
|
| __ bind(&allocate);
|
| - __ CmpP(r9, Operand(Page::kMaxRegularHeapObjectSize));
|
| + __ CmpP(r9, Operand(kMaxRegularHeapObjectSize));
|
| __ bgt(&too_big_for_new_space);
|
| {
|
| FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
|
| @@ -4896,7 +4896,7 @@ void FastNewStrictArgumentsStub::Generate(MacroAssembler* masm) {
|
| // Fall back to %AllocateInNewSpace (if not too big).
|
| Label too_big_for_new_space;
|
| __ bind(&allocate);
|
| - __ CmpP(r9, Operand(Page::kMaxRegularHeapObjectSize));
|
| + __ CmpP(r9, Operand(kMaxRegularHeapObjectSize));
|
| __ bgt(&too_big_for_new_space);
|
| {
|
| FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
|
|
|