Home | History | Annotate | Download | only in builtins

Lines Matching refs:Promise

10 #include "src/objects/promise.h"
20 // The promise which resolve/reject callbacks fulfill.
37 // Promise capability from Promise.all
40 // Values array from Promise.all
53 // This is used by the Promise.prototype.finally builtin to store
54 // onFinally callback and the Promise constructor.
74 // These allocate and initialize a promise with pending state and
77 // This uses undefined as the parent promise for the promise init
80 // This uses the given parent as the parent promise for the promise
84 // This allocates and initializes a promise with the given state and
86 Node* AllocateAndSetJSPromise(Node* context, v8::Promise::PromiseState status,
104 Node* promise, Node* native_context, Node* promise_context);
106 Node* PromiseHasHandler(Node* promise);
108 // Creates the context used by all Promise.all resolve element closures,
109 // together with the values array. Since all closures for a single Promise.all
120 Node* CreatePromiseResolvingFunctionsContext(Node* promise, Node* debug_event,
127 void PromiseInit(Node* promise);
129 void PromiseSetHasHandler(Node* promise);
130 void PromiseSetHandledHint(Node* promise);
132 void PerformPromiseThen(Node* context, Node* promise, Node* on_fulfilled,
138 Node* TriggerPromiseReactions(Node* context, Node* promise, Node* result,
142 // Promise constructor and the Promise.resolve() protector is intact, as
143 // that guards the lookup path for the "resolve" property on the %Promise%
150 // [[Prototype]] is the (initial) Promise.prototype and the @@species
158 // is the (initial) Promise.prototype and the Promise#then() protector
192 void SetPromiseHandledByIfTrue(Node* context, Node* condition, Node* promise,
195 Node* PromiseStatus(Node* promise);
201 Node* IsPromiseStatus(Node* actual, v8::Promise::PromiseState expected);
202 void PromiseSetStatus(Node* promise, v8::Promise::PromiseState status);