| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index bfbadebf2df823508b0e92d21a28b91111cab721..d8edeef2b0b8327eff74370e06abe0af9ee68d8f 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -5374,13 +5374,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()) {
|
| @@ -5436,13 +5432,9 @@ void LCodeGen::DoDeferredAllocate(LAllocate* instr) {
|
| }
|
|
|
| int flags = 0;
|
| - 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);
|
| }
|
|
|