Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index 02de67afbcb3fbae7e7c92b5b0673fe295266046..49944c11d134ef9f9d1a1ddaa156a57626402e3d 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -4358,7 +4358,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); |
@@ -4745,7 +4745,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); |