| Index: src/hydrogen-instructions.h | 
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h | 
| index 8f3b04acfb028534b449de14d79a843e4afe3b93..72700bad1b3a8e0318fb32d8a01a01b2c8dde81c 100644 | 
| --- a/src/hydrogen-instructions.h | 
| +++ b/src/hydrogen-instructions.h | 
| @@ -5547,12 +5547,8 @@ class HAllocate FINAL : public HTemplateInstruction<2> { | 
| return (flags_ & ALLOCATE_IN_NEW_SPACE) != 0; | 
| } | 
|  | 
| -  bool IsOldDataSpaceAllocation() const { | 
| -    return (flags_ & ALLOCATE_IN_OLD_DATA_SPACE) != 0; | 
| -  } | 
| - | 
| -  bool IsOldPointerSpaceAllocation() const { | 
| -    return (flags_ & ALLOCATE_IN_OLD_POINTER_SPACE) != 0; | 
| +  bool IsOldSpaceAllocation() const { | 
| +    return (flags_ & ALLOCATE_IN_OLD_SPACE) != 0; | 
| } | 
|  | 
| bool MustAllocateDoubleAligned() const { | 
| @@ -5585,8 +5581,7 @@ class HAllocate FINAL : public HTemplateInstruction<2> { | 
| private: | 
| enum Flags { | 
| ALLOCATE_IN_NEW_SPACE = 1 << 0, | 
| -    ALLOCATE_IN_OLD_DATA_SPACE = 1 << 1, | 
| -    ALLOCATE_IN_OLD_POINTER_SPACE = 1 << 2, | 
| +    ALLOCATE_IN_OLD_SPACE = 1 << 2, | 
| ALLOCATE_DOUBLE_ALIGNED = 1 << 3, | 
| PREFILL_WITH_FILLER = 1 << 4, | 
| CLEAR_NEXT_MAP_WORD = 1 << 5 | 
| @@ -5622,10 +5617,8 @@ class HAllocate FINAL : public HTemplateInstruction<2> { | 
|  | 
| static Flags ComputeFlags(PretenureFlag pretenure_flag, | 
| InstanceType instance_type) { | 
| -    Flags flags = pretenure_flag == TENURED | 
| -        ? (Heap::TargetSpaceId(instance_type) == OLD_POINTER_SPACE | 
| -            ? ALLOCATE_IN_OLD_POINTER_SPACE : ALLOCATE_IN_OLD_DATA_SPACE) | 
| -        : ALLOCATE_IN_NEW_SPACE; | 
| +    Flags flags = pretenure_flag == TENURED ? ALLOCATE_IN_OLD_SPACE | 
| +                                            : ALLOCATE_IN_NEW_SPACE; | 
| if (instance_type == FIXED_DOUBLE_ARRAY_TYPE) { | 
| flags = static_cast<Flags>(flags | ALLOCATE_DOUBLE_ALIGNED); | 
| } | 
| @@ -5667,9 +5660,7 @@ class HAllocate FINAL : public HTemplateInstruction<2> { | 
|  | 
| bool IsFoldable(HAllocate* allocate) { | 
| return (IsNewSpaceAllocation() && allocate->IsNewSpaceAllocation()) || | 
| -        (IsOldDataSpaceAllocation() && allocate->IsOldDataSpaceAllocation()) || | 
| -        (IsOldPointerSpaceAllocation() && | 
| -            allocate->IsOldPointerSpaceAllocation()); | 
| +           (IsOldSpaceAllocation() && allocate->IsOldSpaceAllocation()); | 
| } | 
|  | 
| void ClearNextMapWord(int offset); | 
|  |