| Index: src/x64/macro-assembler-x64.cc
|
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
|
| index 8b04144366413c50b111dc37a471da75df48ac86..293b064a448ed7b96cfc87a0999260d9b598139b 100644
|
| --- a/src/x64/macro-assembler-x64.cc
|
| +++ b/src/x64/macro-assembler-x64.cc
|
| @@ -4119,6 +4119,7 @@ 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.
|
| @@ -4126,7 +4127,7 @@ void MacroAssembler::MakeSureDoubleAlignedHelper(Register result,
|
| Label aligned;
|
| testl(result, Immediate(kDoubleAlignmentMask));
|
| j(zero, &aligned, Label::kNear);
|
| - if ((flags & PRETENURE) != 0) {
|
| + if ((flags & PRETENURE_OLD_DATA_SPACE) != 0) {
|
| ExternalReference allocation_limit =
|
| AllocationUtils::GetAllocationLimitReference(isolate(), flags);
|
| cmpp(result, ExternalOperand(allocation_limit));
|
|
|