| Index: src/runtime/runtime-generator.cc
|
| diff --git a/src/runtime/runtime-generator.cc b/src/runtime/runtime-generator.cc
|
| index bb63a3d0d01ac2eccb3d4fe0b602dd89d711e7c3..e70ad22bace16c2a21d4ae6e2c31feb3a2264b14 100644
|
| --- a/src/runtime/runtime-generator.cc
|
| +++ b/src/runtime/runtime-generator.cc
|
| @@ -54,7 +54,7 @@ RUNTIME_FUNCTION(Runtime_SuspendJSGeneratorObject) {
|
| DCHECK(frame->function()->shared()->is_compiled());
|
| DCHECK(!frame->function()->IsOptimized());
|
|
|
| - isolate->debug()->RecordAsyncFunction(generator_object);
|
| + isolate->debug()->RecordGenerator(generator_object);
|
|
|
| // The caller should have saved the context and continuation already.
|
| DCHECK_EQ(generator_object->context(), Context::cast(frame->context()));
|
|
|