| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 8d3f25ee6f3f31322ec5ec27981444ebbf40e525..bdabcc05ed0ff84409a358b7ed17fa7a9bdd18c7 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -5421,13 +5421,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()) {
|
| int32_t size = ToInteger32(LConstantOperand::cast(instr->size()));
|
| @@ -5489,13 +5485,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);
|
| }
|
|
|