Searched refs:ECMA_PROMISE_IS_PENDING (Results 1 – 3 of 3) sorted by relevance
103 JERRY_ASSERT (ecma_promise_get_flags (obj_p) & ECMA_PROMISE_IS_PENDING); in ecma_promise_set_state()105 uint16_t flags_to_invert = (is_fulfilled ? (ECMA_PROMISE_IS_PENDING | ECMA_PROMISE_IS_FULFILLED) in ecma_promise_set_state()106 : ECMA_PROMISE_IS_PENDING); in ecma_promise_set_state()207 JERRY_ASSERT (ecma_promise_get_flags (obj_p) & ECMA_PROMISE_IS_PENDING); in ecma_reject_promise()236 JERRY_ASSERT (ecma_promise_get_flags (obj_p) & ECMA_PROMISE_IS_PENDING); in ecma_fulfill_promise()538 ext_object_p->u.class_prop.extra_info = ECMA_PROMISE_IS_PENDING; in ecma_op_create_promise_object()875 if (flags & ECMA_PROMISE_IS_PENDING) in ecma_promise_do_then()
34 ECMA_PROMISE_IS_PENDING = (1 << 0), /**< pending state */ enumerator
93 JERRY_STATIC_ASSERT ((int) ECMA_PROMISE_IS_PENDING == (int) JERRY_PROMISE_STATE_PENDING3387 flags &= (ECMA_PROMISE_IS_PENDING | ECMA_PROMISE_IS_FULFILLED); in jerry_get_promise_state()