Index: src/s390/macro-assembler-s390.cc |
diff --git a/src/s390/macro-assembler-s390.cc b/src/s390/macro-assembler-s390.cc |
index 05b74a02435143bf6524116d434c28d222b2709c..769d3dc1b03386fb89b4fbb1a457bea148ac887f 100644 |
--- a/src/s390/macro-assembler-s390.cc |
+++ b/src/s390/macro-assembler-s390.cc |
@@ -1706,7 +1706,7 @@ void MacroAssembler::LoadFromNumberDictionary(Label* miss, Register elements, |
void MacroAssembler::Allocate(int object_size, Register result, |
Register scratch1, Register scratch2, |
Label* gc_required, AllocationFlags flags) { |
- DCHECK(object_size <= Page::kMaxRegularHeapObjectSize); |
+ DCHECK(object_size <= kMaxRegularHeapObjectSize); |
DCHECK((flags & ALLOCATION_FOLDED) == 0); |
if (!FLAG_inline_new) { |
if (emit_debug_code()) { |
@@ -1962,7 +1962,7 @@ void MacroAssembler::FastAllocate(Register object_size, Register result, |
void MacroAssembler::FastAllocate(int object_size, Register result, |
Register scratch1, Register scratch2, |
AllocationFlags flags) { |
- DCHECK(object_size <= Page::kMaxRegularHeapObjectSize); |
+ DCHECK(object_size <= kMaxRegularHeapObjectSize); |
DCHECK(!AreAliased(result, scratch1, scratch2, ip)); |
// Make object size into bytes. |