Searched refs:microtask (Results 1 – 10 of 10) sorted by relevance
/external/v8/src/builtins/ |
D | builtins-internal-gen.cc | 820 Node* microtask = Parameter(Descriptor::kMicrotask); in TF_BUILTIN() local 851 StoreFixedArrayElement(new_queue, num_tasks, microtask, in TF_BUILTIN() 866 StoreFixedArrayElement(new_queue, num_tasks, microtask); in TF_BUILTIN() 876 StoreFixedArrayElement(queue, num_tasks, microtask); in TF_BUILTIN() 911 TNode<HeapObject> microtask = in TF_BUILTIN() local 915 CSA_ASSERT(this, TaggedIsNotSmi(microtask)); in TF_BUILTIN() 917 TNode<Map> microtask_map = LoadMap(microtask); in TF_BUILTIN() 944 LoadObjectField<Context>(microtask, CallableTask::kContextOffset); in TF_BUILTIN() 952 microtask, CallableTask::kCallableOffset); in TF_BUILTIN() 965 LoadObjectField(microtask, CallbackTask::kCallbackOffset); in TF_BUILTIN() [all …]
|
D | builtins-promise-gen.cc | 373 Node* microtask = AllocatePromiseReactionJobTask( in PerformPromiseThen() local 376 CallBuiltin(Builtins::kEnqueueMicrotask, NoContextConstant(), microtask); in PerformPromiseThen() 419 Node* const microtask = Allocate(PromiseReactionJobTask::kSize); in AllocatePromiseReactionJobTask() local 420 StoreMapNoWriteBarrier(microtask, map); in AllocatePromiseReactionJobTask() 422 microtask, PromiseReactionJobTask::kArgumentOffset, argument); in AllocatePromiseReactionJobTask() 424 microtask, PromiseReactionJobTask::kContextOffset, context); in AllocatePromiseReactionJobTask() 426 microtask, PromiseReactionJobTask::kHandlerOffset, handler); in AllocatePromiseReactionJobTask() 428 microtask, PromiseReactionJobTask::kPromiseOrCapabilityOffset, in AllocatePromiseReactionJobTask() 430 return microtask; in AllocatePromiseReactionJobTask() 445 Node* const microtask = Allocate(PromiseResolveThenableJobTask::kSize); in AllocatePromiseResolveThenableJobTask() local [all …]
|
/external/v8/src/runtime/ |
D | runtime-promise.cc | 76 Handle<CallableTask> microtask = in RUNTIME_FUNCTION() local 78 isolate->EnqueueMicrotask(microtask); in RUNTIME_FUNCTION()
|
/external/v8/src/heap/ |
D | factory.cc | 1596 Handle<CallableTask> microtask = in NewCallableTask() local 1598 microtask->set_callable(*callable); in NewCallableTask() 1599 microtask->set_context(*context); in NewCallableTask() 1600 return microtask; in NewCallableTask() 1605 Handle<CallbackTask> microtask = in NewCallbackTask() local 1607 microtask->set_callback(*callback); in NewCallbackTask() 1608 microtask->set_data(*data); in NewCallbackTask() 1609 return microtask; in NewCallbackTask() 1616 Handle<PromiseResolveThenableJobTask> microtask = in NewPromiseResolveThenableJobTask() local 1619 microtask->set_promise_to_resolve(*promise_to_resolve); in NewPromiseResolveThenableJobTask() [all …]
|
/external/v8/src/ |
D | isolate.h | 1372 void EnqueueMicrotask(Handle<Microtask> microtask);
|
D | isolate.cc | 3946 void Isolate::EnqueueMicrotask(Handle<Microtask> microtask) { in Throw() argument 3957 queue->set(num_tasks, *microtask); in Throw()
|
D | api.cc | 8647 i::Handle<i::CallableTask> microtask = isolate->factory()->NewCallableTask( in EnqueueMicrotask() local 8649 isolate->EnqueueMicrotask(microtask); in EnqueueMicrotask() 8655 i::Handle<i::CallbackTask> microtask = isolate->factory()->NewCallbackTask( in EnqueueMicrotask() local 8658 isolate->EnqueueMicrotask(microtask); in EnqueueMicrotask()
|
/external/v8/ |
D | BUILD.gn | 2218 "src/objects/microtask-inl.h", 2219 "src/objects/microtask.h",
|
D | ChangeLog | 42898 Add API support for passing a C++ function as a microtask callback. 43000 Move microtask queueing logic from JavaScript to C++. 43042 Drop unused static microtask API. 43044 Introduce an api to query the microtask autorun state of an isolate. 43094 Introduce a microtask suppression scope and move microtask methods to
|
/external/v8/include/ |
D | v8.h | 8020 void EnqueueMicrotask(Local<Function> microtask);
|