Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 24c698727603ac8382f81db9d4e87a8b2783ccbd..4c092de80c9a693271326f1b42a3ae81a634ee6b 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3328,12 +3328,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); |
DCHECK(kPointerAlignment * 2 == kDoubleAlignment); |
And(scratch2, result, Operand(kDoubleAlignmentMask)); |
Label aligned; |
Branch(&aligned, eq, scratch2, Operand(zero_reg)); |
- if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) { |
+ if ((flags & PRETENURE) != 0) { |
Branch(gc_required, Ugreater_equal, result, Operand(t9)); |
} |
li(scratch2, Operand(isolate()->factory()->one_pointer_filler_map())); |
@@ -3415,12 +3414,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)); |
Label aligned; |
Branch(&aligned, eq, scratch2, Operand(zero_reg)); |
- if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) { |
+ if ((flags & PRETENURE) != 0) { |
Branch(gc_required, Ugreater_equal, result, Operand(t9)); |
} |
li(scratch2, Operand(isolate()->factory()->one_pointer_filler_map())); |