Home
last modified time | relevance | path

Searched refs:outer_promise (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/builtins/
Dbuiltins-async-function-gen.cc22 Node* const awaited, Node* const outer_promise,
26 Node* const outer_promise,
112 Node* const outer_promise, const bool is_predicted_as_caught) { in AsyncFunctionAwait() argument
114 CSA_SLOW_ASSERT(this, HasInstanceType(outer_promise, JS_PROMISE_TYPE)); in AsyncFunctionAwait()
133 Await(context, generator, awaited, outer_promise, AwaitContext::kLength, in AsyncFunctionAwait()
140 Return(outer_promise); in AsyncFunctionAwait()
143 CallRuntime(Runtime::kDebugAsyncFunctionSuspended, context, outer_promise); in AsyncFunctionAwait()
149 Node* const outer_promise, const bool is_predicted_as_caught) { in AsyncFunctionAwaitOptimized() argument
151 CSA_SLOW_ASSERT(this, HasInstanceType(outer_promise, JS_PROMISE_TYPE)); in AsyncFunctionAwaitOptimized()
171 context, generator, awaited, outer_promise, AwaitContext::kLength, in AsyncFunctionAwaitOptimized()
[all …]
Dbuiltins-async-gen.h26 Node* Await(Node* context, Node* generator, Node* value, Node* outer_promise,
32 Node* outer_promise, int context_length,
37 Node* Await(Node* context, Node* generator, Node* value, Node* outer_promise, in Await() argument
42 return Await(context, generator, value, outer_promise, context_length, in Await()
48 Node* outer_promise, int context_length, in AwaitOptimized() argument
54 context, generator, value, outer_promise, context_length, in AwaitOptimized()
58 Node* Await(Node* context, Node* generator, Node* value, Node* outer_promise, in Await() argument
63 return Await(context, generator, value, outer_promise, context_length, in Await()
69 Node* outer_promise, int context_length, in AwaitOptimized() argument
74 return AwaitOptimized(context, generator, value, outer_promise, in AwaitOptimized()
Dbuiltins-async-gen.cc27 Node* context, Node* generator, Node* value, Node* outer_promise, in Await() argument
103 outer_promise, throwaway); in Await()
137 CSA_SLOW_ASSERT(this, HasInstanceType(outer_promise, JS_PROMISE_TYPE)); in Await()
141 CAST(outer_promise)); in Await()
151 Node* context, Node* generator, Node* value, Node* outer_promise, in AwaitOptimized() argument
219 CallRuntime(Runtime::kAwaitPromisesInit, context, promise, outer_promise, in AwaitOptimized()
251 CSA_SLOW_ASSERT(this, HasInstanceType(outer_promise, JS_PROMISE_TYPE)); in AwaitOptimized()
255 CAST(outer_promise)); in AwaitOptimized()
Dbuiltins-async-generator-gen.cc262 Node* outer_promise = in AsyncGeneratorAwait() local
269 Await(context, generator, value, outer_promise, AwaitContext::kLength, in AsyncGeneratorAwait()
586 Node* const outer_promise = LoadPromiseFromAsyncGeneratorRequest(request); in TF_BUILTIN() local
597 Await(context, generator, value, outer_promise, AwaitContext::kLength, in TF_BUILTIN()
666 Node* const outer_promise = LoadPromiseFromAsyncGeneratorRequest(req); in TF_BUILTIN() local
667 Await(context, generator, value, outer_promise, AwaitContext::kLength, in TF_BUILTIN()
/external/v8/src/runtime/
Druntime-promise.cc138 CONVERT_ARG_HANDLE_CHECKED(JSPromise, outer_promise, 1); in RUNTIME_FUNCTION()
140 isolate->RunPromiseHook(PromiseHookType::kInit, wrapped_value, outer_promise); in RUNTIME_FUNCTION()
147 throwaway->set_async_task_id(outer_promise->async_task_id()); in RUNTIME_FUNCTION()