Lines Matching refs:Node
15 using compiler::Node;
26 Node* AsyncBuiltinsAssembler::Await(
27 Node* context, Node* generator, Node* value, Node* outer_promise,
29 Node* on_resolve_context_index, Node* on_reject_context_index,
30 Node* is_predicted_as_caught) {
33 Node* const native_context = LoadNativeContext(context);
45 Node* const base = AllocateInNewSpace(kTotalSize);
46 Node* const closure_context = base;
54 Node* const promise_fun =
57 Node* const promise_map =
64 Node* const wrapped_value = InnerAllocate(base, kWrappedPromiseOffset);
74 Node* const throwaway = InnerAllocate(base, kThrowawayPromiseOffset);
84 Node* const on_resolve = InnerAllocate(base, kResolveClosureOffset);
91 Node* const on_reject = InnerAllocate(base, kRejectClosureOffset);
124 Node* const key =
139 Node* const key = HeapConstant(factory()->promise_handled_by_symbol());
150 Node* AsyncBuiltinsAssembler::AwaitOptimized(
151 Node* context, Node* generator, Node* value, Node* outer_promise,
153 Node* on_resolve_context_index, Node* on_reject_context_index,
154 Node* is_predicted_as_caught) {
157 Node* const native_context = LoadNativeContext(context);
158 Node* const promise_fun =
173 Node* const promise =
176 Node* const base = AllocateInNewSpace(kTotalSize);
177 Node* const closure_context = base;
184 Node* const promise_map =
191 Node* const throwaway = InnerAllocate(base, kThrowawayPromiseOffset);
201 Node* const on_resolve = InnerAllocate(base, kResolveClosureOffset);
208 Node* const on_reject = InnerAllocate(base, kRejectClosureOffset);
238 Node* const key =
253 Node* const key = HeapConstant(factory()->promise_handled_by_symbol());
264 void AsyncBuiltinsAssembler::InitializeNativeClosure(Node* context,
265 Node* native_context,
266 Node* function,
267 Node* context_index) {
268 Node* const function_map = LoadContextElement(
284 Node* shared_info = LoadContextElement(native_context, context_index);
290 Node* const code = GetSharedFunctionInfoCode(shared_info);
294 Node* AsyncBuiltinsAssembler::CreateUnwrapClosure(Node* native_context,
295 Node* done) {
296 Node* const map = LoadContextElement(
298 Node* const on_fulfilled_shared = LoadContextElement(
302 Node* const closure_context =
308 Node* AsyncBuiltinsAssembler::AllocateAsyncIteratorValueUnwrapContext(
309 Node* native_context, Node* done) {
313 Node* const context =
321 Node* const value = Parameter(Descriptor::kValue);
322 Node* const context = Parameter(Descriptor::kContext);
324 Node* const done = LoadContextElement(context, ValueUnwrapContext::kDoneSlot);
327 Node* const unwrapped_value =