| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index 4b5165a0be59e58bf275247e755578e2676b2510..806ec7e6039310e6d3d11cc39f7fa85d4ee56fa5 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -4308,7 +4308,7 @@ void FastNewRestParameterStub::Generate(MacroAssembler* masm) {
|
| // Fall back to %AllocateInNewSpace (if not too big).
|
| Label too_big_for_new_space;
|
| __ bind(&allocate);
|
| - __ cmpl(rcx, Immediate(Page::kMaxRegularHeapObjectSize));
|
| + __ cmpl(rcx, Immediate(kMaxRegularHeapObjectSize));
|
| __ j(greater, &too_big_for_new_space);
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| @@ -4671,7 +4671,7 @@ void FastNewStrictArgumentsStub::Generate(MacroAssembler* masm) {
|
| // Fall back to %AllocateInNewSpace (if not too big).
|
| Label too_big_for_new_space;
|
| __ bind(&allocate);
|
| - __ cmpl(rcx, Immediate(Page::kMaxRegularHeapObjectSize));
|
| + __ cmpl(rcx, Immediate(kMaxRegularHeapObjectSize));
|
| __ j(greater, &too_big_for_new_space);
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
|
|