Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1104)

Unified Diff: src/runtime/runtime-debug.cc

Issue 2655253004: [inspector] introduced stepIntoAsync for chained callbacks (Closed)
Patch Set: addressed Yang's comment Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698