Lines Matching full:generator
24 void AsyncFunctionAwait(Node* const context, Node* const generator,
51 Node* const generator = in AsyncFunctionAwaitResumeClosure() local
53 CSA_SLOW_ASSERT(this, HasInstanceType(generator, JS_GENERATOR_OBJECT_TYPE)); in AsyncFunctionAwaitResumeClosure()
57 // TODO(jgruber): Refactor to reuse code from builtins-generator.cc. in AsyncFunctionAwaitResumeClosure()
59 // Ensure that the generator is neither closed nor running. in AsyncFunctionAwaitResumeClosure()
63 LoadObjectField(generator, JSGeneratorObject::kContinuationOffset), in AsyncFunctionAwaitResumeClosure()
68 CallStub(callable, context, sent_value, generator, SmiConstant(resume_mode)); in AsyncFunctionAwaitResumeClosure()
100 // yield AsyncFunctionAwait{Caught,Uncaught}(.generator, awaited, .promise)
101 // The 'awaited' parameter is the value; the generator stands in
105 Node* const context, Node* const generator, Node* const awaited, in AsyncFunctionAwait() argument
107 CSA_SLOW_ASSERT(this, HasInstanceType(generator, JS_GENERATOR_OBJECT_TYPE)); in AsyncFunctionAwait()
114 generator); in AsyncFunctionAwait()
126 context, generator, awaited, outer_promise, create_closure_context, in AsyncFunctionAwait()
137 Node* const generator = Parameter(1); in TF_BUILTIN() local
144 AsyncFunctionAwait(context, generator, awaited, outer_promise, in TF_BUILTIN()
152 Node* const generator = Parameter(1); in TF_BUILTIN() local
159 AsyncFunctionAwait(context, generator, awaited, outer_promise, in TF_BUILTIN()