| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 6f2fb9790843eb2fa9a15eda01c4977836bb7d90..a7ce550ea5f36411d2dc6ea6368cec14a12660ad 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -4564,7 +4564,7 @@ void FastNewRestParameterStub::Generate(MacroAssembler* masm) {
|
| // Fall back to %AllocateInNewSpace (if not too big).
|
| Label too_big_for_new_space;
|
| __ bind(&allocate);
|
| - __ cmp(ecx, Immediate(Page::kMaxRegularHeapObjectSize));
|
| + __ cmp(ecx, Immediate(kMaxRegularHeapObjectSize));
|
| __ j(greater, &too_big_for_new_space);
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| @@ -4953,7 +4953,7 @@ void FastNewStrictArgumentsStub::Generate(MacroAssembler* masm) {
|
| // Fall back to %AllocateInNewSpace (if not too big).
|
| Label too_big_for_new_space;
|
| __ bind(&allocate);
|
| - __ cmp(ecx, Immediate(Page::kMaxRegularHeapObjectSize));
|
| + __ cmp(ecx, Immediate(kMaxRegularHeapObjectSize));
|
| __ j(greater, &too_big_for_new_space);
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
|
|