Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index f3cb784389d2fc62cd481e1fd1c578ac918a3f1b..53cecaa98e44d9f1688094ac04d331237fff8179 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1824,10 +1824,12 @@ RUNTIME_FUNCTION(Runtime_DebugPopPromise) { |
RUNTIME_FUNCTION(Runtime_DebugAsyncTaskEvent) { |
- DCHECK(args.length() == 1); |
+ DCHECK(args.length() == 3); |
HandleScope scope(isolate); |
- CONVERT_ARG_HANDLE_CHECKED(JSObject, data, 0); |
- isolate->debug()->OnAsyncTaskEvent(data); |
+ CONVERT_ARG_HANDLE_CHECKED(String, type, 0); |
+ CONVERT_ARG_HANDLE_CHECKED(Object, id, 1); |
+ CONVERT_ARG_HANDLE_CHECKED(String, name, 2); |
+ isolate->debug()->OnAsyncTaskEvent(type, id, name); |
return isolate->heap()->undefined_value(); |
} |