Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 983f5491c862d9a2a675a6c1437a5fd875ecda96..46aa0a5a173640ad20965e956754cbe502431d57 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3349,12 +3349,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())); |
@@ -3436,12 +3435,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())); |