Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 6dd897b0314b6fae0d8a458c4b2b8f4b4afe1a13..f02f7303eb94dddb5f91de7408a0cfbb42226242 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -4581,7 +4581,7 @@ void FastNewRestParameterStub::Generate(MacroAssembler* masm) { |
// Fall back to %AllocateInNewSpace (if not too big). |
Label too_big_for_new_space; |
__ bind(&allocate); |
- __ Cmpi(r10, Operand(Page::kMaxRegularHeapObjectSize), r0); |
+ __ Cmpi(r10, Operand(kMaxRegularHeapObjectSize), r0); |
__ bgt(&too_big_for_new_space); |
{ |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
@@ -4972,7 +4972,7 @@ void FastNewStrictArgumentsStub::Generate(MacroAssembler* masm) { |
// Fall back to %AllocateInNewSpace (if not too big). |
Label too_big_for_new_space; |
__ bind(&allocate); |
- __ Cmpi(r10, Operand(Page::kMaxRegularHeapObjectSize), r0); |
+ __ Cmpi(r10, Operand(kMaxRegularHeapObjectSize), r0); |
__ bgt(&too_big_for_new_space); |
{ |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |