| Index: src/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc
|
| index 3b19379e807d29716076595b99d0c1e676236cc5..5a50ea8f12c9fd9d29afa601a5a6c97557930e1d 100644
|
| --- a/src/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/mips64/lithium-codegen-mips64.cc
|
| @@ -5424,13 +5424,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()));
|
| @@ -5493,13 +5489,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);
|
| }
|
|
|