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