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 |