Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 2f91a037cc754737fa12fd5fbb12767a9a7eab4b..d511f99d1948287ee843c3044b4355c78267096c 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1833,7 +1833,6 @@ RUNTIME_FUNCTION(Runtime_DebugPushPromise) { |
return isolate->heap()->undefined_value(); |
} |
- |
RUNTIME_FUNCTION(Runtime_DebugPopPromise) { |
DCHECK_EQ(0, args.length()); |
SealHandleScope shs(isolate); |
@@ -1880,6 +1879,14 @@ RUNTIME_FUNCTION(Runtime_DebugAsyncEventEnqueueRecurring) { |
return isolate->heap()->undefined_value(); |
} |
+RUNTIME_FUNCTION(Runtime_DebugMarkPromiseAllOrRace) { |
+ HandleScope scope(isolate); |
+ DCHECK_EQ(1, args.length()); |
+ CONVERT_ARG_HANDLE_CHECKED(JSFunction, func, 0); |
+ func->shared()->set_is_promise_all_or_race(true); |
+ return isolate->heap()->undefined_value(); |
+} |
+ |
RUNTIME_FUNCTION(Runtime_DebugIsActive) { |
SealHandleScope shs(isolate); |
return Smi::FromInt(isolate->debug()->is_active()); |