Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 496d9bd69261f266eeae53d86aa90834fb24bfad..e9d2be982f89e381f474e9413807bc2fb8491100 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1969,7 +1969,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()) { |
@@ -2224,7 +2224,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. |