| Index: src/mips/macro-assembler-mips.cc
 | 
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
 | 
| index 9312eed02f8ae702853d80ef5ff91b4d5fa37043..c2d5bb6a446329f541d920430e6f841ad4554ed4 100644
 | 
| --- a/src/mips/macro-assembler-mips.cc
 | 
| +++ b/src/mips/macro-assembler-mips.cc
 | 
| @@ -3974,10 +3974,8 @@ void MacroAssembler::Allocate(int object_size,
 | 
|    Branch(gc_required, Ugreater, result_end, Operand(alloc_limit));
 | 
|    sw(result_end, MemOperand(top_address));
 | 
|  
 | 
| -  // Tag object if requested.
 | 
| -  if ((flags & TAG_OBJECT) != 0) {
 | 
| -    Addu(result, result, Operand(kHeapObjectTag));
 | 
| -  }
 | 
| +  // Tag object.
 | 
| +  Addu(result, result, Operand(kHeapObjectTag));
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -4065,10 +4063,8 @@ void MacroAssembler::Allocate(Register object_size, Register result,
 | 
|    }
 | 
|    sw(result_end, MemOperand(top_address));
 | 
|  
 | 
| -  // Tag object if requested.
 | 
| -  if ((flags & TAG_OBJECT) != 0) {
 | 
| -    Addu(result, result, Operand(kHeapObjectTag));
 | 
| -  }
 | 
| +  // Tag object.
 | 
| +  Addu(result, result, Operand(kHeapObjectTag));
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -4087,12 +4083,8 @@ void MacroAssembler::AllocateTwoByteString(Register result,
 | 
|    And(scratch1, scratch1, Operand(~kObjectAlignmentMask));
 | 
|  
 | 
|    // Allocate two-byte string in new space.
 | 
| -  Allocate(scratch1,
 | 
| -           result,
 | 
| -           scratch2,
 | 
| -           scratch3,
 | 
| -           gc_required,
 | 
| -           TAG_OBJECT);
 | 
| +  Allocate(scratch1, result, scratch2, scratch3, gc_required,
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|  
 | 
|    // Set the map, length and hash field.
 | 
|    InitializeNewString(result,
 | 
| @@ -4115,12 +4107,8 @@ void MacroAssembler::AllocateOneByteString(Register result, Register length,
 | 
|    And(scratch1, scratch1, Operand(~kObjectAlignmentMask));
 | 
|  
 | 
|    // Allocate one-byte string in new space.
 | 
| -  Allocate(scratch1,
 | 
| -           result,
 | 
| -           scratch2,
 | 
| -           scratch3,
 | 
| -           gc_required,
 | 
| -           TAG_OBJECT);
 | 
| +  Allocate(scratch1, result, scratch2, scratch3, gc_required,
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|  
 | 
|    // Set the map, length and hash field.
 | 
|    InitializeNewString(result, length, Heap::kOneByteStringMapRootIndex,
 | 
| @@ -4134,7 +4122,7 @@ void MacroAssembler::AllocateTwoByteConsString(Register result,
 | 
|                                                 Register scratch2,
 | 
|                                                 Label* gc_required) {
 | 
|    Allocate(ConsString::kSize, result, scratch1, scratch2, gc_required,
 | 
| -           TAG_OBJECT);
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|    InitializeNewString(result,
 | 
|                        length,
 | 
|                        Heap::kConsStringMapRootIndex,
 | 
| @@ -4147,12 +4135,8 @@ void MacroAssembler::AllocateOneByteConsString(Register result, Register length,
 | 
|                                                 Register scratch1,
 | 
|                                                 Register scratch2,
 | 
|                                                 Label* gc_required) {
 | 
| -  Allocate(ConsString::kSize,
 | 
| -           result,
 | 
| -           scratch1,
 | 
| -           scratch2,
 | 
| -           gc_required,
 | 
| -           TAG_OBJECT);
 | 
| +  Allocate(ConsString::kSize, result, scratch1, scratch2, gc_required,
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|  
 | 
|    InitializeNewString(result, length, Heap::kConsOneByteStringMapRootIndex,
 | 
|                        scratch1, scratch2);
 | 
| @@ -4165,7 +4149,7 @@ void MacroAssembler::AllocateTwoByteSlicedString(Register result,
 | 
|                                                   Register scratch2,
 | 
|                                                   Label* gc_required) {
 | 
|    Allocate(SlicedString::kSize, result, scratch1, scratch2, gc_required,
 | 
| -           TAG_OBJECT);
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|  
 | 
|    InitializeNewString(result,
 | 
|                        length,
 | 
| @@ -4181,7 +4165,7 @@ void MacroAssembler::AllocateOneByteSlicedString(Register result,
 | 
|                                                   Register scratch2,
 | 
|                                                   Label* gc_required) {
 | 
|    Allocate(SlicedString::kSize, result, scratch1, scratch2, gc_required,
 | 
| -           TAG_OBJECT);
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|  
 | 
|    InitializeNewString(result, length, Heap::kSlicedOneByteStringMapRootIndex,
 | 
|                        scratch1, scratch2);
 | 
| @@ -4207,12 +4191,11 @@ void MacroAssembler::AllocateHeapNumber(Register result,
 | 
|                                          Register scratch2,
 | 
|                                          Register heap_number_map,
 | 
|                                          Label* need_gc,
 | 
| -                                        TaggingMode tagging_mode,
 | 
|                                          MutableMode mode) {
 | 
|    // Allocate an object in the heap for the heap number and tag it as a heap
 | 
|    // object.
 | 
|    Allocate(HeapNumber::kSize, result, scratch1, scratch2, need_gc,
 | 
| -           tagging_mode == TAG_RESULT ? TAG_OBJECT : NO_ALLOCATION_FLAGS);
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|  
 | 
|    Heap::RootListIndex map_index = mode == MUTABLE
 | 
|        ? Heap::kMutableHeapNumberMapRootIndex
 | 
| @@ -4220,11 +4203,7 @@ void MacroAssembler::AllocateHeapNumber(Register result,
 | 
|    AssertIsRoot(heap_number_map, map_index);
 | 
|  
 | 
|    // Store heap number map in the allocated object.
 | 
| -  if (tagging_mode == TAG_RESULT) {
 | 
| -    sw(heap_number_map, FieldMemOperand(result, HeapObject::kMapOffset));
 | 
| -  } else {
 | 
| -    sw(heap_number_map, MemOperand(result, HeapObject::kMapOffset));
 | 
| -  }
 | 
| +  sw(heap_number_map, FieldMemOperand(result, HeapObject::kMapOffset));
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -4248,7 +4227,8 @@ void MacroAssembler::AllocateJSValue(Register result, Register constructor,
 | 
|    DCHECK(!result.is(value));
 | 
|  
 | 
|    // Allocate JSValue in new space.
 | 
| -  Allocate(JSValue::kSize, result, scratch1, scratch2, gc_required, TAG_OBJECT);
 | 
| +  Allocate(JSValue::kSize, result, scratch1, scratch2, gc_required,
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|  
 | 
|    // Initialize the JSValue.
 | 
|    LoadGlobalFunctionInitialMap(constructor, scratch1, scratch2);
 | 
| 
 |