Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 264f24f8da5c7534e8b5a8a0a22a960a2390a7c0..6d30dae19683f09ef9834364b8f298220c3bd396 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -4425,7 +4425,7 @@ void FastNewRestParameterStub::Generate(MacroAssembler* masm) { |
// Fall back to %AllocateInNewSpace (if not too big). |
Label too_big_for_new_space; |
__ bind(&allocate); |
- __ cmp(r6, Operand(Page::kMaxRegularHeapObjectSize)); |
+ __ cmp(r6, Operand(kMaxRegularHeapObjectSize)); |
__ b(gt, &too_big_for_new_space); |
{ |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
@@ -4763,7 +4763,7 @@ void FastNewStrictArgumentsStub::Generate(MacroAssembler* masm) { |
// Fall back to %AllocateInNewSpace (if not too big). |
Label too_big_for_new_space; |
__ bind(&allocate); |
- __ cmp(r6, Operand(Page::kMaxRegularHeapObjectSize)); |
+ __ cmp(r6, Operand(kMaxRegularHeapObjectSize)); |
__ b(gt, &too_big_for_new_space); |
{ |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |