Lines Matching refs:microtask
3395 void Isolate::EnqueueMicrotask(Handle<Object> microtask) { in Throw() argument
3396 DCHECK(microtask->IsJSFunction() || microtask->IsCallHandlerInfo() || in Throw()
3397 microtask->IsPromiseResolveThenableJobInfo() || in Throw()
3398 microtask->IsPromiseReactionJobInfo()); in Throw()
3410 queue->set(num_tasks, *microtask); in Throw()
3440 Handle<Object> microtask(queue->get(i), this); in Throw()
3442 if (microtask->IsCallHandlerInfo()) { in Throw()
3444 Handle<CallHandlerInfo>::cast(microtask); in Throw()
3452 if (microtask->IsJSFunction()) { in Throw()
3453 context = Handle<JSFunction>::cast(microtask)->context(); in Throw()
3454 } else if (microtask->IsPromiseResolveThenableJobInfo()) { in Throw()
3456 Handle<PromiseResolveThenableJobInfo>::cast(microtask)->context(); in Throw()
3458 context = Handle<PromiseReactionJobInfo>::cast(microtask)->context(); in Throw()
3468 if (microtask->IsJSFunction()) { in Throw()
3470 Handle<JSFunction>::cast(microtask); in Throw()
3474 } else if (microtask->IsPromiseResolveThenableJobInfo()) { in Throw()
3476 Handle<PromiseResolveThenableJobInfo>::cast(microtask), &result, in Throw()
3479 PromiseReactionJob(Handle<PromiseReactionJobInfo>::cast(microtask), in Throw()