Index: src/ppc/lithium-codegen-ppc.cc |
diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc |
index 4646ce644373330f6fb41092eec2a47affcb6ccf..4b7711f0332649b2cb393ddd9f187c283ffed326 100644 |
--- a/src/ppc/lithium-codegen-ppc.cc |
+++ b/src/ppc/lithium-codegen-ppc.cc |
@@ -5684,13 +5684,9 @@ void LCodeGen::DoAllocate(LAllocate* instr) { |
if (instr->hydrogen()->MustAllocateDoubleAligned()) { |
flags = static_cast<AllocationFlags>(flags | DOUBLE_ALIGNMENT); |
} |
- if (instr->hydrogen()->IsOldPointerSpaceAllocation()) { |
- DCHECK(!instr->hydrogen()->IsOldDataSpaceAllocation()); |
+ if (instr->hydrogen()->IsOldSpaceAllocation()) { |
DCHECK(!instr->hydrogen()->IsNewSpaceAllocation()); |
- flags = static_cast<AllocationFlags>(flags | PRETENURE_OLD_POINTER_SPACE); |
- } else if (instr->hydrogen()->IsOldDataSpaceAllocation()) { |
- DCHECK(!instr->hydrogen()->IsNewSpaceAllocation()); |
- flags = static_cast<AllocationFlags>(flags | PRETENURE_OLD_DATA_SPACE); |
+ flags = static_cast<AllocationFlags>(flags | PRETENURE); |
} |
if (instr->size()->IsConstantOperand()) { |
@@ -5756,13 +5752,9 @@ void LCodeGen::DoDeferredAllocate(LAllocate* instr) { |
int flags = AllocateDoubleAlignFlag::encode( |
instr->hydrogen()->MustAllocateDoubleAligned()); |
- if (instr->hydrogen()->IsOldPointerSpaceAllocation()) { |
- DCHECK(!instr->hydrogen()->IsOldDataSpaceAllocation()); |
- DCHECK(!instr->hydrogen()->IsNewSpaceAllocation()); |
- flags = AllocateTargetSpace::update(flags, OLD_POINTER_SPACE); |
- } else if (instr->hydrogen()->IsOldDataSpaceAllocation()) { |
+ if (instr->hydrogen()->IsOldSpaceAllocation()) { |
DCHECK(!instr->hydrogen()->IsNewSpaceAllocation()); |
- flags = AllocateTargetSpace::update(flags, OLD_DATA_SPACE); |
+ flags = AllocateTargetSpace::update(flags, OLD_SPACE); |
} else { |
flags = AllocateTargetSpace::update(flags, NEW_SPACE); |
} |