| Index: src/arm64/full-codegen-arm64.cc
|
| diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc
|
| index 9896771b5813ea3a5b57749c8db9cba5ca714074..a1ebf8b58574b907733c92749a88500463da5e37 100644
|
| --- a/src/arm64/full-codegen-arm64.cc
|
| +++ b/src/arm64/full-codegen-arm64.cc
|
| @@ -5068,11 +5068,11 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| Label suspend, continuation, post_runtime, resume;
|
|
|
| __ B(&suspend);
|
| -
|
| // TODO(jbramley): This label is bound here because the following code
|
| // looks at its pos(). Is it possible to do something more efficient here,
|
| // perhaps using Adr?
|
| __ Bind(&continuation);
|
| + __ RecordGeneratorContinuation();
|
| __ B(&resume);
|
|
|
| __ Bind(&suspend);
|
| @@ -5143,12 +5143,13 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| EnterTryBlock(handler_index, &l_catch);
|
| const int try_block_size = TryCatch::kElementCount * kPointerSize;
|
| __ Push(x0); // result
|
| - __ B(&l_suspend);
|
|
|
| + __ B(&l_suspend);
|
| // TODO(jbramley): This label is bound here because the following code
|
| // looks at its pos(). Is it possible to do something more efficient here,
|
| // perhaps using Adr?
|
| __ Bind(&l_continuation);
|
| + __ RecordGeneratorContinuation();
|
| __ B(&l_resume);
|
|
|
| __ Bind(&l_suspend);
|
|
|