| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 7044f89f8c98830f7ba003133ebe7ed223d2f3d8..cea72793bd99ea24af39a88a7ea14cad80d57f36 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -9308,6 +9308,14 @@ MaybeLocal<UnboundScript> debug::CompileInspectorScript(Isolate* v8_isolate,
|
| RETURN_ESCAPED(ToApiHandle<UnboundScript>(result));
|
| }
|
|
|
| +void debug::SetAsyncTaskListener(Isolate* v8_isolate,
|
| + debug::AsyncTaskListener listener,
|
| + void* data) {
|
| + i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
|
| + ENTER_V8(isolate);
|
| + isolate->debug()->SetAsyncTaskListener(listener, data);
|
| +}
|
| +
|
| Local<String> CpuProfileNode::GetFunctionName() const {
|
| const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
|
| i::Isolate* isolate = node->isolate();
|
|
|