Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 202631837d98ae32c860065e37c6db6d793c2219..cce0add274629e83a1a3104b0da94d4d16b91d45 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5378,13 +5378,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()) { |
@@ -5446,13 +5442,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); |
} |