| Index: src/arm/macro-assembler-arm.cc
|
| diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc
|
| index 2344c78bb029ffcd939dde7704f539ae6baec1c3..33f047055ad63c0d16507984bd9ae31edfdc208f 100644
|
| --- a/src/arm/macro-assembler-arm.cc
|
| +++ b/src/arm/macro-assembler-arm.cc
|
| @@ -1695,12 +1695,11 @@ void MacroAssembler::Allocate(int object_size,
|
| 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);
|
| STATIC_ASSERT(kPointerAlignment * 2 == kDoubleAlignment);
|
| and_(scratch2, result, Operand(kDoubleAlignmentMask), SetCC);
|
| Label aligned;
|
| b(eq, &aligned);
|
| - if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
|
| + if ((flags & PRETENURE) != 0) {
|
| cmp(result, Operand(ip));
|
| b(hs, gc_required);
|
| }
|
| @@ -1809,12 +1808,11 @@ void MacroAssembler::Allocate(Register object_size,
|
| 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(kPointerAlignment * 2 == kDoubleAlignment);
|
| and_(scratch2, result, Operand(kDoubleAlignmentMask), SetCC);
|
| Label aligned;
|
| b(eq, &aligned);
|
| - if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
|
| + if ((flags & PRETENURE) != 0) {
|
| cmp(result, Operand(ip));
|
| b(hs, gc_required);
|
| }
|
|
|