| Index: src/ppc/macro-assembler-ppc.cc
|
| diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
|
| index 2f56d39c927a05c945b2070c709139456d92f9c4..bbc78dc6c4bb7de8726db9d691b3837a7fb61491 100644
|
| --- a/src/ppc/macro-assembler-ppc.cc
|
| +++ b/src/ppc/macro-assembler-ppc.cc
|
| @@ -1368,7 +1368,7 @@ void MacroAssembler::Allocate(int object_size, Register result,
|
| if ((flags & DOUBLE_ALIGNMENT) != 0) {
|
| // Align the next allocation. Storing the filler map without checking top is
|
| // safe in new-space because the limit of the heap is aligned there.
|
| - DCHECK((flags & PRETENURE_OLD_POINTER_SPACE) == 0);
|
| + DCHECK((flags & PRETENURE_OLD_SPACE) == 0);
|
| #if V8_TARGET_ARCH_PPC64
|
| STATIC_ASSERT(kPointerAlignment == kDoubleAlignment);
|
| #else
|
| @@ -1376,7 +1376,7 @@ void MacroAssembler::Allocate(int object_size, Register result,
|
| andi(scratch2, result, Operand(kDoubleAlignmentMask));
|
| Label aligned;
|
| beq(&aligned, cr0);
|
| - if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
|
| + if ((flags & PRETENURE) != 0) {
|
| cmpl(result, ip);
|
| bge(gc_required);
|
| }
|
| @@ -1467,7 +1467,7 @@ void MacroAssembler::Allocate(Register object_size, Register result,
|
| if ((flags & DOUBLE_ALIGNMENT) != 0) {
|
| // Align the next allocation. Storing the filler map without checking top is
|
| // safe in new-space because the limit of the heap is aligned there.
|
| - DCHECK((flags & PRETENURE_OLD_POINTER_SPACE) == 0);
|
| + DCHECK((flags & PRETENURE_OLD_SPACE) == 0);
|
| #if V8_TARGET_ARCH_PPC64
|
| STATIC_ASSERT(kPointerAlignment == kDoubleAlignment);
|
| #else
|
| @@ -1475,7 +1475,7 @@ void MacroAssembler::Allocate(Register object_size, Register result,
|
| andi(scratch2, result, Operand(kDoubleAlignmentMask));
|
| Label aligned;
|
| beq(&aligned, cr0);
|
| - if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
|
| + if ((flags & PRETENURE) != 0) {
|
| cmpl(result, ip);
|
| bge(gc_required);
|
| }
|
|
|