Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index 25c8e35a19e6d6fc032f0c1294f40032af8063cc..e2c1227c7ff37eeb963a0267d9b6ae1b7f4569b7 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -5829,13 +5829,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()) { |
@@ -5898,13 +5894,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); |
} |