| Index: src/runtime/runtime-observe.cc
|
| diff --git a/src/runtime/runtime-observe.cc b/src/runtime/runtime-observe.cc
|
| index eefdba83609b17485d6899df2a14fb952893cdd8..bf0ceb974769c09298e54dd918f0bb07e36cb84f 100644
|
| --- a/src/runtime/runtime-observe.cc
|
| +++ b/src/runtime/runtime-observe.cc
|
| @@ -53,6 +53,13 @@ RUNTIME_FUNCTION(Runtime_RunMicrotasks) {
|
| }
|
|
|
|
|
| +RUNTIME_FUNCTION(Runtime_PendingMicrotaskCount) {
|
| + HandleScope scope(isolate);
|
| + DCHECK(args.length() == 0);
|
| + return Smi::FromInt(isolate->pending_microtask_count());
|
| +}
|
| +
|
| +
|
| RUNTIME_FUNCTION(Runtime_GetObservationState) {
|
| SealHandleScope shs(isolate);
|
| DCHECK(args.length() == 0);
|
|
|