Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 949c6176893c07009a34ae13448f3fa68f798453..0fd4e29ce61d83fe70056433874e059d5e787f40 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -5576,6 +5576,15 @@ RUNTIME_FUNCTION(Runtime_DebugPromiseEvent) { |
} |
+RUNTIME_FUNCTION(Runtime_DebugAsyncTaskEvent) { |
+ ASSERT(args.length() == 1); |
+ HandleScope scope(isolate); |
+ CONVERT_ARG_HANDLE_CHECKED(JSObject, data, 0); |
+ isolate->debug()->OnAsyncTaskEvent(data); |
+ return isolate->heap()->undefined_value(); |
+} |
+ |
+ |
RUNTIME_FUNCTION(Runtime_DeleteProperty) { |
HandleScope scope(isolate); |
ASSERT(args.length() == 3); |