| Index: src/arm64/full-codegen-arm64.cc
|
| diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc
|
| index fb698a344fa2626bd56c5c27bb0d8fdb5f423f1c..0b7cfa04919229471b7b387c7c53f0f6a8f1c5c1 100644
|
| --- a/src/arm64/full-codegen-arm64.cc
|
| +++ b/src/arm64/full-codegen-arm64.cc
|
| @@ -299,24 +299,24 @@ void FullCodeGenerator::Generate() {
|
| }
|
| VisitDeclarations(scope()->declarations());
|
| }
|
| - }
|
|
|
| - { Comment cmnt(masm_, "[ Stack check");
|
| - PrepareForBailoutForId(BailoutId::Declarations(), NO_REGISTERS);
|
| - Label ok;
|
| - DCHECK(jssp.Is(__ StackPointer()));
|
| - __ CompareRoot(jssp, Heap::kStackLimitRootIndex);
|
| - __ B(hs, &ok);
|
| - PredictableCodeSizeScope predictable(masm_,
|
| - Assembler::kCallSizeWithRelocation);
|
| - __ Call(isolate()->builtins()->StackCheck(), RelocInfo::CODE_TARGET);
|
| - __ Bind(&ok);
|
| - }
|
| + { Comment cmnt(masm_, "[ Stack check");
|
| + PrepareForBailoutForId(BailoutId::Declarations(), NO_REGISTERS);
|
| + Label ok;
|
| + DCHECK(jssp.Is(__ StackPointer()));
|
| + __ CompareRoot(jssp, Heap::kStackLimitRootIndex);
|
| + __ B(hs, &ok);
|
| + PredictableCodeSizeScope predictable(masm_,
|
| + Assembler::kCallSizeWithRelocation);
|
| + __ Call(isolate()->builtins()->StackCheck(), RelocInfo::CODE_TARGET);
|
| + __ Bind(&ok);
|
| + }
|
|
|
| - { Comment cmnt(masm_, "[ Body");
|
| - DCHECK(loop_depth() == 0);
|
| - VisitStatements(function()->body());
|
| - DCHECK(loop_depth() == 0);
|
| + { Comment cmnt(masm_, "[ Body");
|
| + DCHECK(loop_depth() == 0);
|
| + VisitStatements(function()->body());
|
| + DCHECK(loop_depth() == 0);
|
| + }
|
| }
|
|
|
| // Always emit a 'return undefined' in case control fell off the end of
|
|
|