| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index 8c0a521c6a5148f494824f0b402784a11423fe68..832eaa16a47eac7f91c6b319c23873ef9100ad88 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -1709,6 +1709,15 @@ RUNTIME_FUNCTION(Runtime_DebugPrepareStepInSuspendedGenerator) {
|
| return isolate->heap()->undefined_value();
|
| }
|
|
|
| +RUNTIME_FUNCTION(Runtime_DebugRecordAsyncFunction) {
|
| + HandleScope scope(isolate);
|
| + DCHECK_EQ(1, args.length());
|
| + CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0);
|
| + CHECK(isolate->debug()->last_step_action() >= StepNext);
|
| + isolate->debug()->RecordAsyncFunction(generator);
|
| + return isolate->heap()->undefined_value();
|
| +}
|
| +
|
| RUNTIME_FUNCTION(Runtime_DebugPushPromise) {
|
| DCHECK(args.length() == 2);
|
| HandleScope scope(isolate);
|
|
|