| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 8eff8bbccb6eec62f53efb102bfb7c6e70df4b4e..9a20b637a78b64a00476ce54a1af148b1648eaf5 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -7165,6 +7165,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();
|
|
|
| @@ -7562,6 +7566,7 @@ class SharedFunctionInfo: public HeapObject {
|
| kComputedHasNoSideEffect,
|
| kDebugIsBlackboxed,
|
| kComputedDebugIsBlackboxed,
|
| + kIsPromiseBuiltin,
|
| };
|
|
|
| // kFunctionKind has to be byte-aligned
|
|
|