Home
last modified time | relevance | path

Searched refs:microtask (Results 1 - 9 of 9) sorted by relevance

/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-microtask-queue-gen.cc8 #include "src/execution/microtask-queue.h"
10 #include "src/objects/microtask-inl.h"
39 TNode<Microtask> microtask);
110 // Skip the microtask execution if the associated context is shutdown. in PrepareForContext()
119 TNode<Context> current_context, TNode<Microtask> microtask) { in RunSingleMicrotask()
120 CSA_DCHECK(this, TaggedIsNotSmi(microtask)); in RunSingleMicrotask()
122 StoreRoot(RootIndex::kCurrentMicrotask, microtask); in RunSingleMicrotask()
124 TNode<Map> microtask_map = LoadMap(microtask); in RunSingleMicrotask()
148 // Enter the context of the {microtask}. in RunSingleMicrotask()
150 LoadObjectField<Context>(microtask, CallableTas in RunSingleMicrotask()
118 RunSingleMicrotask( TNode<Context> current_context, TNode<Microtask> microtask) RunSingleMicrotask() argument
541 auto microtask = Parameter<Microtask>(Descriptor::kMicrotask); TF_BUILTIN() local
612 TNode<Microtask> microtask = CAST(BitcastWordToTagged(microtask_pointer)); TF_BUILTIN() local
[all...]
/third_party/node/deps/v8/src/execution/
H A Dmicrotask-queue.cc5 #include "src/execution/microtask-queue.h"
14 #include "src/objects/microtask-inl.h"
74 Microtask microtask = Microtask::cast(Object(raw_microtask)); in CallEnqueueMicrotask() local
76 ->EnqueueMicrotask(microtask); in CallEnqueueMicrotask()
84 Handle<CallableTask> microtask = isolate->factory()->NewCallableTask( in EnqueueMicrotask() local
86 EnqueueMicrotask(*microtask); in EnqueueMicrotask()
94 Handle<CallbackTask> microtask = isolate->factory()->NewCallbackTask( in EnqueueMicrotask() local
97 EnqueueMicrotask(*microtask); in EnqueueMicrotask()
100 void MicrotaskQueue::EnqueueMicrotask(Microtask microtask) { in EnqueueMicrotask() argument
109 ring_buffer_[(start_ + size_) % capacity_] = microtask in EnqueueMicrotask()
[all...]
H A Dmicrotask-queue.h14 #include "include/v8-microtask-queue.h"
41 v8::Local<Function> microtask) override;
54 void EnqueueMicrotask(Microtask microtask);
86 // still correctly wrapped with microtask scopes.
132 // The number of finished microtask.
/third_party/node/deps/v8/include/v8-include/
H A Dv8-microtask-queue.h13 #include "v8-microtask.h" // NOLINT(build/include_directory)
26 * Represents the microtask queue, where microtasks are stored and processed.
27 * https://html.spec.whatwg.org/multipage/webappapis.html#microtask-queue
29 * https://html.spec.whatwg.org/multipage/webappapis.html#perform-a-microtask-checkpoint
54 Local<Function> microtask) = 0;
69 * but the microtasks queue was empty and no single microtask was actually
85 * Runs microtasks if no microtask is running on this MicrotaskQueue instance.
90 * Returns true if a microtask is running on this MicrotaskQueue instance.
122 "May be incorrect if context was created with non-default microtask "
H A Dv8-isolate.h23 #include "v8-microtask.h" // NOLINT(build/include_directory)
873 * context of the currently running microtask while processing microtasks.
874 * If a context is entered while executing a microtask, that context is
1194 * microtask checkpoint steps, such as calling ClearKeptObjects. Asserts that
1195 * the MicrotasksPolicy is not kScoped. Any exceptions thrown by microtask
1203 void EnqueueMicrotask(Local<Function> microtask);
1227 * but the microtasks queue was empty and no single microtask was actually
/third_party/node/deps/v8/include/
H A Dv8-microtask-queue.h13 #include "v8-microtask.h" // NOLINT(build/include_directory)
26 * Represents the microtask queue, where microtasks are stored and processed.
27 * https://html.spec.whatwg.org/multipage/webappapis.html#microtask-queue
29 * https://html.spec.whatwg.org/multipage/webappapis.html#perform-a-microtask-checkpoint
54 Local<Function> microtask) = 0;
69 * but the microtasks queue was empty and no single microtask was actually
85 * Runs microtasks if no microtask is running on this MicrotaskQueue instance.
90 * Returns true if a microtask is running on this MicrotaskQueue instance.
H A Dv8-isolate.h23 #include "v8-microtask.h" // NOLINT(build/include_directory)
873 * context of the currently running microtask while processing microtasks.
874 * If a context is entered while executing a microtask, that context is
1216 * microtask checkpoint steps, such as calling ClearKeptObjects. Asserts that
1217 * the MicrotasksPolicy is not kScoped. Any exceptions thrown by microtask
1225 void EnqueueMicrotask(Local<Function> microtask);
1249 * but the microtasks queue was empty and no single microtask was actually
/third_party/node/deps/v8/src/runtime/
H A Druntime-promise.cc8 #include "src/execution/microtask-queue.h"
80 Handle<CallableTask> microtask = isolate->factory()->NewCallableTask( in RUNTIME_FUNCTION() local
84 if (microtask_queue) microtask_queue->EnqueueMicrotask(*microtask); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/heap/
H A Dfactory.cc59 #include "src/objects/microtask-inl.h"
1432 auto microtask = NewStructInternal<CallableTask>(CALLABLE_TASK_TYPE, in NewCallableTask() local
1435 microtask.set_callable(*callable, SKIP_WRITE_BARRIER); in NewCallableTask()
1436 microtask.set_context(*context, SKIP_WRITE_BARRIER); in NewCallableTask()
1437 return handle(microtask, isolate()); in NewCallableTask()
1442 auto microtask = NewStructInternal<CallbackTask>(CALLBACK_TASK_TYPE, in NewCallbackTask() local
1445 microtask.set_callback(*callback, SKIP_WRITE_BARRIER); in NewCallbackTask()
1446 microtask.set_data(*data, SKIP_WRITE_BARRIER); in NewCallbackTask()
1447 return handle(microtask, isolate()); in NewCallbackTask()
1454 auto microtask in NewPromiseResolveThenableJobTask() local
[all...]

Completed in 13 milliseconds