| Index: src/runtime/runtime-generator.cc
|
| diff --git a/src/runtime/runtime-generator.cc b/src/runtime/runtime-generator.cc
|
| index 19f57d79231dda4759eb184380bbddf99016a95a..493e5b5a9c7935f2644ab09b730998d4fffe76a7 100644
|
| --- a/src/runtime/runtime-generator.cc
|
| +++ b/src/runtime/runtime-generator.cc
|
| @@ -53,9 +53,7 @@ RUNTIME_FUNCTION(Runtime_SuspendJSGeneratorObject) {
|
| DCHECK(frame->function()->shared()->is_compiled());
|
| DCHECK(!frame->function()->IsOptimized());
|
|
|
| - if (generator_object->function()->shared()->is_async()) {
|
| - isolate->debug()->RecordAsyncFunction(generator_object);
|
| - }
|
| + isolate->debug()->RecordAsyncFunction(generator_object);
|
|
|
| // The caller should have saved the context and continuation already.
|
| DCHECK_EQ(generator_object->context(), Context::cast(frame->context()));
|
|
|