Home | History | Annotate | Download | only in builtins

Lines Matching refs:Node

16 using compiler::Node;
32 inline Node* TaggedIsAsyncGenerator(Node* tagged_object) {
41 inline Node* LoadGeneratorState(Node* const generator) {
48 inline TNode<BoolT> IsGeneratorClosed(Node* const generator) {
56 inline TNode<BoolT> IsGeneratorSuspended(Node* const generator) {
70 inline TNode<BoolT> IsGeneratorNotExecuting(Node* const generator) {
74 inline TNode<BoolT> IsGeneratorAwaiting(Node* const generator) {
80 inline void SetGeneratorAwaiting(Node* const generator) {
87 inline void SetGeneratorNotAwaiting(Node* const generator) {
94 inline void CloseGenerator(Node* const generator) {
100 inline Node* IsFastJSIterResult(Node* const value, Node* const context) {
102 Node* const native_context = LoadNativeContext(context);
108 inline Node* LoadFirstAsyncGeneratorRequestFromQueue(Node* const generator) {
112 inline Node* LoadResumeTypeFromAsyncGeneratorRequest(Node* const request) {
116 inline Node* LoadPromiseFromAsyncGeneratorRequest(Node* const request) {
120 inline Node* LoadValueFromAsyncGeneratorRequest(Node* const request) {
128 void AsyncGeneratorEnqueue(CodeStubArguments* args, Node* context,
129 Node* generator, Node* value,
133 Node* TakeFirstAsyncGeneratorRequestFromQueue(Node* generator);
134 Node* TakeFirstAsyncGeneratorRequestFromQueueIfPresent(Node* generator,
136 void AddAsyncGeneratorRequestToQueue(Node* generator, Node* request);
138 Node* AllocateAsyncGeneratorRequest(
139 JSAsyncGeneratorObject::ResumeMode resume_mode, Node* resume_value,
140 Node* promise);
147 Node* context, Node* value,
154 CodeStubArguments* args, Node* context, Node* generator, Node* value,
161 Node* promise = AllocateAndInitJSPromise(context);
171 Node* const req =
195 Node* const error =
205 Node* AsyncGeneratorBuiltinsAssembler::AllocateAsyncGeneratorRequest(
206 JSAsyncGeneratorObject::ResumeMode resume_mode, Node* resume_value,
207 Node* promise) {
209 Node* request = Allocate(AsyncGeneratorRequest::kSize);
226 Node* context, Node* value,
228 Node* const generator =
248 Node* generator = Parameter(Descriptor::kGenerator);
249 Node* value = Parameter(Descriptor::kAwaited);
250 Node* context = Parameter(Descriptor::kContext);
254 Node* const request = LoadFirstAsyncGeneratorRequestFromQueue(generator);
257 ContextInitializer init_closure_context = [&](Node* context) {
262 Node* outer_promise =
275 Node* generator, Node* request) {
292 Node* current = var_current.value();
293 Node* next = LoadObjectField(current, AsyncGeneratorRequest::kNextOffset);
311 Node* AsyncGeneratorBuiltinsAssembler::TakeFirstAsyncGeneratorRequestFromQueue(
312 Node* generator) {
316 Node* request =
320 Node* next = LoadObjectField(request, AsyncGeneratorRequest::kNextOffset);
332 Node* argc =
336 Node* generator = args.GetReceiver();
337 Node* value = args.GetOptionalArgumentValue(kValueArg);
338 Node* context = Parameter(Descriptor::kContext);
350 Node* argc =
354 Node* generator = args.GetReceiver();
355 Node* value = args.GetOptionalArgumentValue(kValueArg);
356 Node* context = Parameter(Descriptor::kContext);
368 Node* argc =
372 Node* generator = args.GetReceiver();
373 Node* value = args.GetOptionalArgumentValue(kValueArg);
374 Node* context = Parameter(Descriptor::kContext);
382 Node* value = Parameter(Descriptor::kValue);
383 Node* context = Parameter(Descriptor::kContext);
389 Node* value = Parameter(Descriptor::kValue);
390 Node* context = Parameter(Descriptor::kContext);
407 Node* const generator = Parameter(Descriptor::kGenerator);
408 Node* const context = Parameter(Descriptor::kContext);
435 Node* const next = var_next.value();
451 Node* next_value = LoadValueFromAsyncGeneratorRequest(next);
463 Node* is_caught = CallRuntime(Runtime::kAsyncGeneratorHasCatchHandlerForPC,
500 Node* const generator = Parameter(Descriptor::kGenerator);
501 Node* const value = Parameter(Descriptor::kValue);
502 Node* const done = Parameter(Descriptor::kDone);
503 Node* const context = Parameter(Descriptor::kContext);
512 Node* const next = TakeFirstAsyncGeneratorRequestFromQueue(generator);
513 Node* const promise = LoadPromiseFromAsyncGeneratorRequest(next);
516 Node* const iter_result = Allocate(JSIteratorResult::kSize);
518 Node* map = LoadContextElement(LoadNativeContext(context),
568 Node* const generator = Parameter(Descriptor::kGenerator);
569 Node* const value = Parameter(Descriptor::kValue);
570 Node* const context = Parameter(Descriptor::kContext);
572 Node* const next = TakeFirstAsyncGeneratorRequestFromQueue(generator);
573 Node* const promise = LoadPromiseFromAsyncGeneratorRequest(next);
580 Node* const generator = Parameter(Descriptor::kGenerator);
581 Node* const value = Parameter(Descriptor::kValue);
582 Node* const is_caught = Parameter(Descriptor::kIsCaught);
583 Node* const context = Parameter(Descriptor::kContext);
585 Node* const request = LoadFirstAsyncGeneratorRequestFromQueue(generator);
586 Node* const outer_promise = LoadPromiseFromAsyncGeneratorRequest(request);
588 ContextInitializer init_closure_context = [&](Node* context) {
603 Node* const context = Parameter(Descriptor::kContext);
604 Node* const value = Parameter(Descriptor::kValue);
605 Node* const generator =
635 Node* const generator = Parameter(Descriptor::kGenerator);
636 Node* const value = Parameter(Descriptor::kValue);
637 Node* const is_caught = Parameter(Descriptor::kIsCaught);
638 Node* const req = LoadFirstAsyncGeneratorRequestFromQueue(generator);
649 Node* const state = LoadGeneratorState(generator);
659 ContextInitializer init_closure_context = [&](Node* context) {
665 Node* const context = Parameter(Descriptor::kContext);
666 Node* const outer_promise = LoadPromiseFromAsyncGeneratorRequest(req);
680 Node* const context = Parameter(Descriptor::kContext);
681 Node* const value = Parameter(Descriptor::kValue);
690 Node* const context = Parameter(Descriptor::kContext);
691 Node* const value = Parameter(Descriptor::kValue);
692 Node* const generator =
708 Node* const context = Parameter(Descriptor::kContext);
709 Node* const value = Parameter(Descriptor::kValue);
710 Node* const generator =