Searched refs:asyncGenerator (Results 1 – 6 of 6) sorted by relevance
| /arkcompiler/ets_runtime/test/aottest/asyncgenerator/ |
| D | asyncgenerator.js | 34 async function* asyncGenerator() { generator 38 var asyncIterator_1 = asyncGenerator(); 59 async function* asyncGenerator() { generator 63 var asyncIterator_2 = asyncGenerator();
|
| /arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/ |
| D | async_function_test.js | 43 async function* asyncGenerator() { generator 54 for await (const value of asyncGenerator()) {
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs.cpp | 1025 …JSHandle<JSTaggedValue> asyncGenerator = GetHArg<JSTaggedValue>(argv, argc, 0); // 0: means the ze… in DEF_RUNTIME_STUBS() local 1028 return RuntimeAsyncGeneratorResolve(thread, asyncGenerator, value, flag).GetRawData(); in DEF_RUNTIME_STUBS() 1034 JSHandle<JSTaggedValue> asyncGenerator = GetHArg<JSTaggedValue>(argv, argc, 0); in DEF_RUNTIME_STUBS() local 1036 return RuntimeAsyncGeneratorReject(thread, asyncGenerator, value).GetRawData(); in DEF_RUNTIME_STUBS() 1042 JSHandle<JSTaggedValue> asyncGenerator = GetHArg<JSTaggedValue>(argv, argc, 0); in DEF_RUNTIME_STUBS() local 1044 RuntimeSetGeneratorState(thread, asyncGenerator, index.GetInt()); in DEF_RUNTIME_STUBS() 1558 …JSHandle<JSTaggedValue> asyncGenerator = GetHArg<JSTaggedValue>(argv, argc, 0); // 0: means the ze… in DEF_RUNTIME_STUBS() local 1561 return RuntimeOptAsyncGeneratorResolve(thread, asyncGenerator, value, flag).GetRawData(); in DEF_RUNTIME_STUBS()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | interpreter_stub.cpp | 3034 GateRef asyncGenerator = GetVregValue(sp, ZExtInt8ToPtr(ReadInst8_0(pc))); in DECLARE_ASM_HANDLER() local 3039 { asyncGenerator, value, flag }); in DECLARE_ASM_HANDLER() 3101 GateRef asyncGenerator = GetVregValue(sp, ZExtInt8ToPtr(ReadInst8_0(pc))); in DECLARE_ASM_HANDLER() local 3103 { asyncGenerator, acc }); in DECLARE_ASM_HANDLER() 3118 GateRef asyncGenerator = GetVregValue(sp, ZExtInt8ToPtr(ReadInst8_1(pc))); in DECLARE_ASM_HANDLER() local 3121 { asyncGenerator, value }); in DECLARE_ASM_HANDLER()
|
| /arkcompiler/ets_runtime/ecmascript/interpreter/ |
| D | interpreter-inl.h | 3159 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in RunInternal() local 3163 … JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorResolve(thread, asyncGenerator, value, flag); in RunInternal() 3190 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in RunInternal() local 3194 JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorReject(thread, asyncGenerator, value); in RunInternal() 3205 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in RunInternal() local 3209 JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorReject(thread, asyncGenerator, value); in RunInternal()
|
| D | interpreter_assembly.cpp | 2757 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in HandleAsyncgeneratorresolveV8V8V8() local 2761 JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorResolve(thread, asyncGenerator, value, flag); in HandleAsyncgeneratorresolveV8V8V8() 2794 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in HandleAsyncgeneratorrejectV8() local 2797 JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorReject(thread, asyncGenerator, value); in HandleAsyncgeneratorrejectV8() 2826 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in HandleDeprecatedAsyncgeneratorrejectPrefV8V8() local 2829 JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorReject(thread, asyncGenerator, value); in HandleDeprecatedAsyncgeneratorrejectPrefV8V8()
|