/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-generator-prototype.c | 70 ecma_iterator_command_type_t resume_mode) /**< resume mode */ in ecma_builtin_generator_prototype_object_do() 113 ecma_value_t result = ecma_op_iterator_do (resume_mode, iterator, arg, &done); in ecma_builtin_generator_prototype_object_do() 124 if (resume_mode == ECMA_ITERATOR_THROW) in ecma_builtin_generator_prototype_object_do() 128 resume_mode = ECMA_ITERATOR_NEXT; in ecma_builtin_generator_prototype_object_do() 141 resume_mode = ECMA_ITERATOR_THROW; in ecma_builtin_generator_prototype_object_do() 145 if (resume_mode == ECMA_ITERATOR_RETURN) in ecma_builtin_generator_prototype_object_do() 149 else if (resume_mode == ECMA_ITERATOR_THROW) in ecma_builtin_generator_prototype_object_do() 177 resume_mode = ECMA_ITERATOR_THROW; in ecma_builtin_generator_prototype_object_do() 68 ecma_builtin_generator_prototype_object_do(ecma_value_t this_arg, ecma_value_t arg, ecma_iterator_command_type_t resume_mode) ecma_builtin_generator_prototype_object_do() argument
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-generator-gen.cc | 31 JSGeneratorObject::ResumeMode resume_mode, 35 JSGeneratorObject::ResumeMode resume_mode, 42 JSGeneratorObject::ResumeMode resume_mode, char const* const method_name) { in InnerResume() 54 // Remember the {resume_mode} for the {receiver}. in InnerResume() 56 SmiConstant(resume_mode)); in InnerResume() 98 switch (resume_mode) { in InnerResume() 128 TNode<Context> context, JSGeneratorObject::ResumeMode resume_mode, in GeneratorPrototypeResume() 134 InnerResume(args, generator, value, context, resume_mode, method_name); in GeneratorPrototypeResume() 39 InnerResume( CodeStubArguments* args, TNode<JSGeneratorObject> receiver, TNode<Object> value, TNode<Context> context, JSGeneratorObject::ResumeMode resume_mode, char const* const method_name) InnerResume() argument 126 GeneratorPrototypeResume( CodeStubArguments* args, TNode<Object> receiver, TNode<Object> value, TNode<Context> context, JSGeneratorObject::ResumeMode resume_mode, char const* const method_name) GeneratorPrototypeResume() argument
|
H A D | builtins-async-function-gen.cc | 27 JSGeneratorObject::ResumeMode resume_mode); 32 JSGeneratorObject::ResumeMode resume_mode) { in AsyncFunctionAwaitResumeClosure() 33 DCHECK(resume_mode == JSGeneratorObject::kNext || in AsyncFunctionAwaitResumeClosure() 34 resume_mode == JSGeneratorObject::kThrow); in AsyncFunctionAwaitResumeClosure() 64 // Remember the {resume_mode} for the {async_function_object}. in AsyncFunctionAwaitResumeClosure() 67 SmiConstant(resume_mode)); in AsyncFunctionAwaitResumeClosure() 30 AsyncFunctionAwaitResumeClosure( TNode<Context> context, TNode<Object> sent_value, JSGeneratorObject::ResumeMode resume_mode) AsyncFunctionAwaitResumeClosure() argument
|
H A D | builtins-async-generator-gen.cc | 117 JSAsyncGeneratorObject::ResumeMode resume_mode, 126 JSAsyncGeneratorObject::ResumeMode resume_mode, 135 JSAsyncGeneratorObject::ResumeMode resume_mode); 142 TNode<Object> value, JSAsyncGeneratorObject::ResumeMode resume_mode, in AsyncGeneratorEnqueue() 160 AllocateAsyncGeneratorRequest(resume_mode, value, promise); in AsyncGeneratorEnqueue() 193 JSAsyncGeneratorObject::ResumeMode resume_mode, TNode<Object> resume_value, in AllocateAsyncGeneratorRequest() 201 SmiConstant(resume_mode)); in AllocateAsyncGeneratorRequest() 213 JSAsyncGeneratorObject::ResumeMode resume_mode) { in AsyncGeneratorAwaitResumeClosure() 221 // Remember the {resume_mode} for the {async_generator_object}. in AsyncGeneratorAwaitResumeClosure() 224 SmiConstant(resume_mode)); in AsyncGeneratorAwaitResumeClosure() 140 AsyncGeneratorEnqueue( CodeStubArguments* args, TNode<Context> context, TNode<Object> receiver, TNode<Object> value, JSAsyncGeneratorObject::ResumeMode resume_mode, const char* method_name) AsyncGeneratorEnqueue() argument 192 AllocateAsyncGeneratorRequest( JSAsyncGeneratorObject::ResumeMode resume_mode, TNode<Object> resume_value, TNode<JSPromise> promise) AllocateAsyncGeneratorRequest() argument 211 AsyncGeneratorAwaitResumeClosure( TNode<Context> context, TNode<Object> value, JSAsyncGeneratorObject::ResumeMode resume_mode) AsyncGeneratorAwaitResumeClosure() argument [all...] |
H A D | builtins-object-gen.cc | 1275 TNode<Smi> resume_mode = SmiConstant(JSGeneratorObject::ResumeMode::kNext); in TF_BUILTIN() local 1277 resume_mode); in TF_BUILTIN()
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecode-generator.cc | 4824 Register resume_mode = register_allocator()->NewRegister(); in VisitYieldStar() local 4841 .StoreAccumulatorInRegister(resume_mode); in VisitYieldStar() 4865 ->LoadAccumulatorWithRegister(resume_mode) in VisitYieldStar() 4869 // TODO(ignition): Add debug code to check that {resume_mode} really is in VisitYieldStar() 4967 .StoreAccumulatorInRegister(resume_mode); in VisitYieldStar() 4982 .CompareReference(resume_mode) in VisitYieldStar() 5031 Register resume_mode = register_allocator()->NewRegister(); in BuildAwait() local 5038 .StoreAccumulatorInRegister(resume_mode) in BuildAwait() 5040 .CompareReference(resume_mode) in BuildAwait()
|
/third_party/node/deps/v8/src/diagnostics/ |
H A D | objects-debug.cc | 1613 CHECK_GE(resume_mode(), JSGeneratorObject::kNext); in AsyncGeneratorRequestVerify() 1614 CHECK_LE(resume_mode(), JSGeneratorObject::kThrow); in AsyncGeneratorRequestVerify()
|
H A D | objects-printer.cc | 636 switch (resume_mode()) { in JSGeneratorObjectPrint() 1719 switch (resume_mode()) { in AsyncGeneratorRequestPrint()
|