Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 5f103bc20cff96eac5db90a384700b23660bcf12..6c706f463fb80f817b813d92295950c2b9632820 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -4673,7 +4673,7 @@ void FastNewRestParameterStub::Generate(MacroAssembler* masm) { |
// Fall back to %AllocateInNewSpace (if not too big). |
Label too_big_for_new_space; |
__ Bind(&allocate); |
- __ Cmp(x6, Operand(Page::kMaxRegularHeapObjectSize)); |
+ __ Cmp(x6, Operand(kMaxRegularHeapObjectSize)); |
__ B(gt, &too_big_for_new_space); |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
@@ -5093,7 +5093,7 @@ void FastNewStrictArgumentsStub::Generate(MacroAssembler* masm) { |
// Fall back to %AllocateInNewSpace (if not too big). |
Label too_big_for_new_space; |
__ Bind(&allocate); |
- __ Cmp(x6, Operand(Page::kMaxRegularHeapObjectSize)); |
+ __ Cmp(x6, Operand(kMaxRegularHeapObjectSize)); |
__ B(gt, &too_big_for_new_space); |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |