aboutsummaryrefslogtreecommitdiff
path: root/jerry-core/ecma/base/ecma-globals.h
diff options
context:
space:
mode:
authorkisbg <kisbg@inf.u-szeged.hu>2021-03-22 12:42:20 +0100
committerGitHub <noreply@github.com>2021-03-22 12:42:20 +0100
commit22ebb00a4c7b1e5920facb0c49c01d96e7622ac5 (patch)
tree2d35565dea21f66e298074fc6cd04815a0f7c4e9 /jerry-core/ecma/base/ecma-globals.h
parentedd2f203974acc9ddfbad9998c29bdc40ccc0719 (diff)
Implement Promise.any and AggregateError Object (#4623)
JerryScript-DCO-1.0-Signed-off-by: Bence Gabor Kis kisbg@inf.u-szeged.hu
Diffstat (limited to 'jerry-core/ecma/base/ecma-globals.h')
-rw-r--r--jerry-core/ecma/base/ecma-globals.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/jerry-core/ecma/base/ecma-globals.h b/jerry-core/ecma/base/ecma-globals.h
index 6d846a12..267a6e58 100644
--- a/jerry-core/ecma/base/ecma-globals.h
+++ b/jerry-core/ecma/base/ecma-globals.h
@@ -2136,7 +2136,7 @@ typedef struct
ecma_extended_object_t header; /**< object header */
ecma_value_t remaining_elements; /**< [[Remaining elements]] internal slot */
ecma_value_t capability; /**< [[Capabilities]] internal slot */
- ecma_value_t values; /**< [[Values]] internal slot */
+ ecma_value_t values; /**< [[Values]] or [[Errors]] internal slot */
uint32_t index; /**< [[Index]] and [[AlreadyCalled]] internal slot
* 0 - if the element has been resolved
* real index + 1 in the [[Values]] list - otherwise */
@@ -2150,7 +2150,8 @@ typedef enum
ECMA_PROMISE_ALL_RESOLVE, /**< promise.all resolve */
ECMA_PROMISE_ALLSETTLED_RESOLVE, /**< promise.allSettled resolve */
ECMA_PROMISE_ALLSETTLED_REJECT, /**< promise.allSettled reject */
-} ecma_promise_helper;
+ ECMA_PROMISE_ANY_REJECT, /**< promise.any reject */
+} ecma_promise_all_exector_type_t;
#endif /* JERRY_ESNEXT */