| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index b3b23662194415658b93c7dbbfad66ae7f24a728..44ba7428cc9930cdc6e3b8b02cab4f4d71e54906 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -8655,6 +8655,10 @@ class JSPromise : public JSObject {
|
| // [has_handler]: Whether this promise has a reject handler or not.
|
| DECL_BOOLEAN_ACCESSORS(has_handler)
|
|
|
| + // [handled_hint]: Whether this promise will be handled by a catch
|
| + // block in an async function.
|
| + DECL_BOOLEAN_ACCESSORS(handled_hint)
|
| +
|
| static const char* Status(int status);
|
|
|
| DECLARE_CAST(JSPromise)
|
| @@ -8675,6 +8679,7 @@ class JSPromise : public JSObject {
|
|
|
| // Flags layout.
|
| static const int kHasHandlerBit = 0;
|
| + static const int kHandledHintBit = 1;
|
| };
|
|
|
| // Regular expressions
|
|
|