| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index 53cecaa98e44d9f1688094ac04d331237fff8179..b74fa25ce3c174da9daa85c85f98ae1e7c71bcf1 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -1822,6 +1822,11 @@ RUNTIME_FUNCTION(Runtime_DebugPopPromise) {
|
| return isolate->heap()->undefined_value();
|
| }
|
|
|
| +RUNTIME_FUNCTION(Runtime_DebugNextMicrotaskId) {
|
| + HandleScope scope(isolate);
|
| + DCHECK(args.length() == 0);
|
| + return Smi::FromInt(isolate->GetNextDebugMicrotaskId());
|
| +}
|
|
|
| RUNTIME_FUNCTION(Runtime_DebugAsyncTaskEvent) {
|
| DCHECK(args.length() == 3);
|
|
|