Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 5d33f3c2f1ae5531a185b538f3032b31794d2224..40ce47c1d2dd820128ff2088706f70f6cb013ab2 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -4209,7 +4209,7 @@ void MacroAssembler::Allocate(int object_size, |
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()) { |
@@ -4391,7 +4391,7 @@ void MacroAssembler::Allocate(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, t9, at)); |
// Make object size into bytes. |