| Index: src/x64/macro-assembler-x64.cc
|
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
|
| index 5a17b3a6f3aa2e10fa0743196f8901fe2779fd28..89e5cc9a9c65e9deaa9acee0a917f1553ecd941c 100644
|
| --- a/src/x64/macro-assembler-x64.cc
|
| +++ b/src/x64/macro-assembler-x64.cc
|
| @@ -4122,7 +4122,6 @@ void MacroAssembler::MakeSureDoubleAlignedHelper(Register result,
|
| // Align the next allocation. Storing the filler map without checking top
|
| // is safe in new-space because the limit of the heap is aligned there.
|
| DCHECK(kPointerSize * 2 == kDoubleSize);
|
| - DCHECK((flags & PRETENURE_OLD_POINTER_SPACE) == 0);
|
| DCHECK(kPointerAlignment * 2 == kDoubleAlignment);
|
| // Make sure scratch is not clobbered by this function as it might be
|
| // used in UpdateAllocationTopHelper later.
|
| @@ -4130,7 +4129,7 @@ void MacroAssembler::MakeSureDoubleAlignedHelper(Register result,
|
| Label aligned;
|
| testl(result, Immediate(kDoubleAlignmentMask));
|
| j(zero, &aligned, Label::kNear);
|
| - if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
|
| + if ((flags & PRETENURE) != 0) {
|
| ExternalReference allocation_limit =
|
| AllocationUtils::GetAllocationLimitReference(isolate(), flags);
|
| cmpp(result, ExternalOperand(allocation_limit));
|
|
|