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

Unified Diff: src/objects.h

Issue 2655253004: [inspector] introduced stepIntoAsync for chained callbacks (Closed)
Patch Set: fixed async/await and added tests Created 3 years, 10 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
« no previous file with comments | « src/js/promise.js ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 3f8f54f22a625f56e7b4801001aff22a540966ee..9758530511e1a12b111f25c52ea9b8fc851284cd 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7169,6 +7169,10 @@ class SharedFunctionInfo: public HeapObject {
// Indicates that |debug_is_blackboxed| has been computed and set.
DECL_BOOLEAN_ACCESSORS(computed_debug_is_blackboxed)
+ // Indicates that the function is Promise.all, Promise.race, Promise.resolve
+ // or Promise.reject.
+ DECL_BOOLEAN_ACCESSORS(is_promise_builtin)
+
// The function's name if it is non-empty, otherwise the inferred name.
String* DebugName();
@@ -7565,6 +7569,7 @@ class SharedFunctionInfo: public HeapObject {
kComputedHasNoSideEffect,
kDebugIsBlackboxed,
kComputedDebugIsBlackboxed,
+ kIsPromiseBuiltin,
};
// kFunctionKind has to be byte-aligned
« no previous file with comments | « src/js/promise.js ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698