Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index 7408cf3903fd154917129c7e97876a87d61f6c77..9b5f80ebe980a6b7c106750f5b885c55761b43a4 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -1812,7 +1812,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()) { |
@@ -2068,7 +2068,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. |