Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index f909e1711832abee3af1f5236d413d7fb4e75f7d..05827a82fa5e8b8e6e390ab2eda579c279044280 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -4371,7 +4371,7 @@ void MacroAssembler::Allocate(int object_size, |
Register scratch2, |
Label* gc_required, |
AllocationFlags flags) { |
- DCHECK(object_size <= Page::kMaxRegularHeapObjectSize); |
+ DCHECK(object_size <= kMaxRegularHeapObjectSize); |
if (!FLAG_inline_new) { |
if (emit_debug_code()) { |
// Trash the registers to simulate an allocation failure. |
@@ -4535,7 +4535,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, at)); |
// Make object size into bytes. |