Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 038e236385e4c6aeff49c720b7ae2f019a36d7e5..06bf46635b2209a3e531e11db77135969cbc82f5 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -1577,13 +1577,9 @@ void LCodeGen::DoAllocate(LAllocate* instr) { |
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()) { |
@@ -1638,13 +1634,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); |
} |