Home
last modified time | relevance | path

Searched refs:PromiseReaction (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/objects/
Dpromise.tq13 // PromiseReaction constants
14 type PromiseReactionType extends int31 constexpr 'PromiseReaction::Type';
16 generates 'PromiseReaction::kFulfill';
18 generates 'PromiseReaction::kReject';
20 constexpr int31 generates 'PromiseReaction::kSize';
22 generates 'PromiseReaction::kFulfillHandlerOffset';
24 generates 'PromiseReaction::kPromiseOrCapabilityOffset';
26 generates 'PromiseReaction::kContinuationPreservedEmbedderDataOffset';
29 extern class PromiseReaction extends Struct {
30 next: PromiseReaction|Zero;
Dpromise.h101 class PromiseReaction
102 : public TorqueGeneratedPromiseReaction<PromiseReaction, Struct> {
107 DECL_PRINTER(PromiseReaction)
109 TQ_OBJECT_CONSTRUCTORS(PromiseReaction)
Djs-promise.tq33 // Smi 0 terminated list of PromiseReaction objects in case the JSPromise was
35 reactions_or_result: Zero|PromiseReaction|JSAny;
Dpromise-inl.h26 TQ_OBJECT_CONSTRUCTORS_IMPL(PromiseReaction)
Djs-promise.h81 PromiseReaction::Type type);
Dobjects-definitions.h140 V(_, PROMISE_REACTION_TYPE, PromiseReaction, promise_reaction) \
Dobjects.cc5291 PromiseReaction::kFulfill); in Fulfill()
5346 PromiseReaction::kReject); in Reject()
5449 PromiseReaction::Type type) { in TriggerPromiseReactions()
5459 Object next = PromiseReaction::cast(current).next(); in TriggerPromiseReactions()
5460 PromiseReaction::cast(current).set_next(reversed); in TriggerPromiseReactions()
5471 Handle<PromiseReaction> reaction = Handle<PromiseReaction>::cast(task); in TriggerPromiseReactions()
5481 if (type == PromiseReaction::kFulfill) { in TriggerPromiseReactions()
5503 static_cast<int>(PromiseReaction::kSize) == in TriggerPromiseReactions()
5506 if (type == PromiseReaction::kFulfill) { in TriggerPromiseReactions()
5514 static_cast<int>(PromiseReaction::kFulfillHandlerOffset) == in TriggerPromiseReactions()
[all …]
/external/v8/src/builtins/
Dpromise-abstract-operations.tq95 promiseReaction: PromiseReaction, argument: JSAny,
114 // Morph {current} from a PromiseReaction into a PromiseReactionJobTask
152 reactions: Zero|PromiseReaction, argument: JSAny,
157 let reversed: Zero|PromiseReaction = kZero;
161 // PromiseReaction instances and not actual JavaScript values (which
169 case (currentReaction: PromiseReaction): {
184 case (currentReaction: PromiseReaction): {
201 UnsafeCast<(Zero | PromiseReaction)>(promise.reactions_or_result);
238 UnsafeCast<(Zero | PromiseReaction)>(promise.reactions_or_result);
440 // PromiseReaction holding both the onFulfilled and onRejected callbacks.
[all …]
Dcast.tq99 return Is<PromiseReaction>(o);
561 Cast<Smi|PromiseReaction>(o: Object): Smi|PromiseReaction labels CastError {
566 case (o: PromiseReaction): {
590 Cast<Zero|PromiseReaction>(implicit context: Context)(o: Object): Zero|
591 PromiseReaction labels CastError {
596 case (o: PromiseReaction): {
Dpromise-misc.tq135 handlerContext: Context, next: Zero|PromiseReaction,
138 rejectHandler: Callable|Undefined): PromiseReaction {
140 return new PromiseReaction{
Dpromise-jobs.tq46 // PromiseReaction with resolve and reject or a PromiseReactionJob
Dpromise-all.tq231 // the PromiseReaction (aka we can pass undefined to
/external/v8/src/execution/
Disolate.cc907 Handle<PromiseReaction> reaction( in CaptureAsyncStackTrace()
908 PromiseReaction::cast(promise->reactions()), isolate); in CaptureAsyncStackTrace()
2461 Handle<PromiseReaction> reaction = Handle<PromiseReaction>::cast(current); in ThrowInternal()
/external/v8/src/compiler/
Dcode-assembler.h77 class PromiseReaction; variable
/external/v8/src/diagnostics/
Dobjects-printer.cc1493 void PromiseReaction::PromiseReactionPrint(std::ostream& os) { // NOLINT in PromiseReactionPrint()