| Index: src/ppc/macro-assembler-ppc.cc
|
| diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
|
| index 54e40f767129e937b20a0423e65f1af4984eee39..31b91654c4168ab23678fa93d2df9c57125fda29 100644
|
| --- a/src/ppc/macro-assembler-ppc.cc
|
| +++ b/src/ppc/macro-assembler-ppc.cc
|
| @@ -1384,7 +1384,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
|
| @@ -1392,7 +1392,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);
|
| }
|
| @@ -1483,7 +1483,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
|
| @@ -1491,7 +1491,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);
|
| }
|
|
|