Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index f6541b89e5e511ebada868b79bb6781b1a1703d1..d5d2064b9609f62e8ecd8753cff2d80b1119dfd4 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -1274,12 +1274,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); |
} |
@@ -1351,12 +1350,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); |
} |
@@ -1426,12 +1424,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); |
} |