Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index 04a9119023720f329ba8a6d66dbe139b2be24cec..57fb53a3200716319542effea1cae1b667908c23 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -1689,32 +1689,13 @@ 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()); |
- |
- test(Operand::StaticVariable(high_promotion_mode), Immediate(1)); |
- j(zero, &allocate_new_space); |
- |
- 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); |
+ TAG_OBJECT); |
- bind(&install_map); |
// Set the map. The other fields are left uninitialized. |
mov(FieldOperand(result, HeapObject::kMapOffset), |
Immediate(isolate()->factory()->cons_ascii_string_map())); |