| Index: src/ia32/macro-assembler-ia32.cc
|
| diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc
|
| index c243ca26d659df5e769a9fe410becd1ba759d2c9..1bd31b32ecd27e21ebf0b53a0a67b9ffe143d18a 100644
|
| --- a/src/ia32/macro-assembler-ia32.cc
|
| +++ b/src/ia32/macro-assembler-ia32.cc
|
| @@ -1310,12 +1310,11 @@ void MacroAssembler::Allocate(int object_size,
|
| // 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.
|
| if ((flags & DOUBLE_ALIGNMENT) != 0) {
|
| - DCHECK((flags & PRETENURE_OLD_POINTER_SPACE) == 0);
|
| DCHECK(kPointerAlignment * 2 == kDoubleAlignment);
|
| Label aligned;
|
| test(result, Immediate(kDoubleAlignmentMask));
|
| j(zero, &aligned, Label::kNear);
|
| - if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
|
| + if ((flags & PRETENURE) != 0) {
|
| cmp(result, Operand::StaticVariable(allocation_limit));
|
| j(above_equal, gc_required);
|
| }
|
| @@ -1387,12 +1386,11 @@ void MacroAssembler::Allocate(int header_size,
|
| // 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.
|
| if ((flags & DOUBLE_ALIGNMENT) != 0) {
|
| - DCHECK((flags & PRETENURE_OLD_POINTER_SPACE) == 0);
|
| DCHECK(kPointerAlignment * 2 == kDoubleAlignment);
|
| Label aligned;
|
| test(result, Immediate(kDoubleAlignmentMask));
|
| j(zero, &aligned, Label::kNear);
|
| - if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
|
| + if ((flags & PRETENURE) != 0) {
|
| cmp(result, Operand::StaticVariable(allocation_limit));
|
| j(above_equal, gc_required);
|
| }
|
| @@ -1462,12 +1460,11 @@ void MacroAssembler::Allocate(Register object_size,
|
| // 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.
|
| if ((flags & DOUBLE_ALIGNMENT) != 0) {
|
| - DCHECK((flags & PRETENURE_OLD_POINTER_SPACE) == 0);
|
| DCHECK(kPointerAlignment * 2 == kDoubleAlignment);
|
| Label aligned;
|
| test(result, Immediate(kDoubleAlignmentMask));
|
| j(zero, &aligned, Label::kNear);
|
| - if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
|
| + if ((flags & PRETENURE) != 0) {
|
| cmp(result, Operand::StaticVariable(allocation_limit));
|
| j(above_equal, gc_required);
|
| }
|
|
|