| Index: src/ppc/macro-assembler-ppc.cc
 | 
| diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
 | 
| index ded5bbf3eb1589e90b43ae70b13e23c59143ffaa..e519b599df07297d22ecc40531c550bfb835200d 100644
 | 
| --- a/src/ppc/macro-assembler-ppc.cc
 | 
| +++ b/src/ppc/macro-assembler-ppc.cc
 | 
| @@ -1877,10 +1877,8 @@ void MacroAssembler::Allocate(int object_size, Register result,
 | 
|    }
 | 
|    StoreP(result_end, MemOperand(top_address));
 | 
|  
 | 
| -  // Tag object if requested.
 | 
| -  if ((flags & TAG_OBJECT) != 0) {
 | 
| -    addi(result, result, Operand(kHeapObjectTag));
 | 
| -  }
 | 
| +  // Tag object.
 | 
| +  addi(result, result, Operand(kHeapObjectTag));
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -1978,10 +1976,8 @@ void MacroAssembler::Allocate(Register object_size, Register result,
 | 
|    }
 | 
|    StoreP(result_end, MemOperand(top_address));
 | 
|  
 | 
| -  // Tag object if requested.
 | 
| -  if ((flags & TAG_OBJECT) != 0) {
 | 
| -    addi(result, result, Operand(kHeapObjectTag));
 | 
| -  }
 | 
| +  // Tag object.
 | 
| +  addi(result, result, Operand(kHeapObjectTag));
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -1999,7 +1995,8 @@ void MacroAssembler::AllocateTwoByteString(Register result, Register length,
 | 
|    and_(scratch1, scratch1, r0);
 | 
|  
 | 
|    // 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, length, Heap::kStringMapRootIndex, scratch1,
 | 
| @@ -2021,7 +2018,8 @@ void MacroAssembler::AllocateOneByteString(Register result, Register length,
 | 
|    and_(scratch1, scratch1, r0);
 | 
|  
 | 
|    // 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,
 | 
| @@ -2034,7 +2032,7 @@ void MacroAssembler::AllocateTwoByteConsString(Register result, Register length,
 | 
|                                                 Register scratch2,
 | 
|                                                 Label* gc_required) {
 | 
|    Allocate(ConsString::kSize, result, scratch1, scratch2, gc_required,
 | 
| -           TAG_OBJECT);
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|  
 | 
|    InitializeNewString(result, length, Heap::kConsStringMapRootIndex, scratch1,
 | 
|                        scratch2);
 | 
| @@ -2046,7 +2044,7 @@ void MacroAssembler::AllocateOneByteConsString(Register result, Register length,
 | 
|                                                 Register scratch2,
 | 
|                                                 Label* gc_required) {
 | 
|    Allocate(ConsString::kSize, result, scratch1, scratch2, gc_required,
 | 
| -           TAG_OBJECT);
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|  
 | 
|    InitializeNewString(result, length, Heap::kConsOneByteStringMapRootIndex,
 | 
|                        scratch1, scratch2);
 | 
| @@ -2059,7 +2057,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, Heap::kSlicedStringMapRootIndex, scratch1,
 | 
|                        scratch2);
 | 
| @@ -2072,7 +2070,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);
 | 
| @@ -3099,12 +3097,11 @@ void MacroAssembler::AllocateHeapNumber(Register result, Register scratch1,
 | 
|                                          Register scratch2,
 | 
|                                          Register heap_number_map,
 | 
|                                          Label* gc_required,
 | 
| -                                        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, gc_required,
 | 
| -           tagging_mode == TAG_RESULT ? TAG_OBJECT : NO_ALLOCATION_FLAGS);
 | 
| +           NO_ALLOCATION_FLAGS);
 | 
|  
 | 
|    Heap::RootListIndex map_index = mode == MUTABLE
 | 
|                                        ? Heap::kMutableHeapNumberMapRootIndex
 | 
| @@ -3112,12 +3109,8 @@ void MacroAssembler::AllocateHeapNumber(Register result, Register scratch1,
 | 
|    AssertIsRoot(heap_number_map, map_index);
 | 
|  
 | 
|    // Store heap number map in the allocated object.
 | 
| -  if (tagging_mode == TAG_RESULT) {
 | 
| -    StoreP(heap_number_map, FieldMemOperand(result, HeapObject::kMapOffset),
 | 
| -           r0);
 | 
| -  } else {
 | 
| -    StoreP(heap_number_map, MemOperand(result, HeapObject::kMapOffset));
 | 
| -  }
 | 
| +  StoreP(heap_number_map, FieldMemOperand(result, HeapObject::kMapOffset),
 | 
| +        r0);
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -3138,7 +3131,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);
 | 
| 
 |