Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 2f91a037cc754737fa12fd5fbb12767a9a7eab4b..350ef06469f4599c1f914776672b9071a0100277 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1833,6 +1833,13 @@ RUNTIME_FUNCTION(Runtime_DebugPushPromise) { |
return isolate->heap()->undefined_value(); |
} |
+RUNTIME_FUNCTION(Runtime_DebugSetNonBreakableAsyncEvents) { |
+ DCHECK_EQ(1, args.length()); |
+ HandleScope scope(isolate); |
+ CONVERT_BOOLEAN_ARG_CHECKED(value, 0); |
+ isolate->debug()->set_non_breakable_async_events(value); |
+ return isolate->heap()->undefined_value(); |
+} |
RUNTIME_FUNCTION(Runtime_DebugPopPromise) { |
DCHECK_EQ(0, args.length()); |