Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 523ec7c203c4619a38c8f8fe5a55d8c971af44ea..0fd6333996e7fad0d2d0448053f1325da467ae39 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -4973,7 +4973,7 @@ void MacroAssembler::Allocate(int object_size, |
Label* gc_required, |
AllocationFlags flags) { |
DCHECK((flags & (RESULT_CONTAINS_TOP | SIZE_IN_WORDS)) == 0); |
- DCHECK(object_size <= Page::kMaxRegularHeapObjectSize); |
+ DCHECK(object_size <= kMaxRegularHeapObjectSize); |
DCHECK((flags & ALLOCATION_FOLDED) == 0); |
if (!FLAG_inline_new) { |
if (emit_debug_code()) { |