Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 98b1da7484f3e2a3b545618b59c8f1406742cee5..13e67a3f966f6ff788b1bd9039a7d58d17fa8d3f 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3117,33 +3117,12 @@ void MacroAssembler::AllocateAsciiConsString(Register result, |
Register scratch1, |
Register scratch2, |
Label* gc_required) { |
- Label allocate_new_space, install_map; |
- AllocationFlags flags = TAG_OBJECT; |
- |
- ExternalReference high_promotion_mode = ExternalReference:: |
- new_space_high_promotion_mode_active_address(isolate()); |
- li(scratch1, Operand(high_promotion_mode)); |
- lw(scratch1, MemOperand(scratch1, 0)); |
- Branch(&allocate_new_space, eq, scratch1, Operand(zero_reg)); |
- |
- Allocate(ConsString::kSize, |
- result, |
- scratch1, |
- scratch2, |
- gc_required, |
- static_cast<AllocationFlags>(flags | PRETENURE_OLD_POINTER_SPACE)); |
- |
- jmp(&install_map); |
- |
- bind(&allocate_new_space); |
Allocate(ConsString::kSize, |
result, |
scratch1, |
scratch2, |
gc_required, |
- flags); |
- |
- bind(&install_map); |
+ TAG_OBJECT); |
InitializeNewString(result, |
length, |