| /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 | 1202 …JSHandle<JSTaggedValue> asyncGenerator = GetHArg<JSTaggedValue>(argv, argc, 0); // 0: means the ze… in DEF_RUNTIME_STUBS() local 1205 return RuntimeAsyncGeneratorResolve(thread, asyncGenerator, value, flag).GetRawData(); in DEF_RUNTIME_STUBS() 1211 JSHandle<JSTaggedValue> asyncGenerator = GetHArg<JSTaggedValue>(argv, argc, 0); in DEF_RUNTIME_STUBS() local 1213 return RuntimeAsyncGeneratorReject(thread, asyncGenerator, value).GetRawData(); in DEF_RUNTIME_STUBS() 1219 JSHandle<JSTaggedValue> asyncGenerator = GetHArg<JSTaggedValue>(argv, argc, 0); in DEF_RUNTIME_STUBS() local 1221 RuntimeSetGeneratorState(thread, asyncGenerator, index.GetInt()); in DEF_RUNTIME_STUBS() 1758 …JSHandle<JSTaggedValue> asyncGenerator = GetHArg<JSTaggedValue>(argv, argc, 0); // 0: means the ze… in DEF_RUNTIME_STUBS() local 1761 return RuntimeOptAsyncGeneratorResolve(thread, asyncGenerator, value, flag).GetRawData(); in DEF_RUNTIME_STUBS()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | interpreter_stub.cpp | 3447 GateRef asyncGenerator = GetVregValue(sp, ZExtInt8ToPtr(ReadInst8_0(pc))); in DECLARE_ASM_HANDLER() local 3452 { asyncGenerator, value, flag }); in DECLARE_ASM_HANDLER() 3534 GateRef asyncGenerator = GetVregValue(sp, ZExtInt8ToPtr(ReadInst8_0(pc))); in DECLARE_ASM_HANDLER() local 3536 { asyncGenerator, acc }); in DECLARE_ASM_HANDLER() 3551 GateRef asyncGenerator = GetVregValue(sp, ZExtInt8ToPtr(ReadInst8_1(pc))); in DECLARE_ASM_HANDLER() local 3554 { asyncGenerator, value }); in DECLARE_ASM_HANDLER()
|
| /arkcompiler/ets_runtime/ecmascript/interpreter/ |
| D | interpreter-inl.cpp | 3175 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in RunInternal() local 3179 … JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorResolve(thread, asyncGenerator, value, flag); in RunInternal() 3206 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in RunInternal() local 3210 JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorReject(thread, asyncGenerator, value); in RunInternal() 3221 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in RunInternal() local 3225 JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorReject(thread, asyncGenerator, value); in RunInternal()
|
| D | interpreter_assembly.cpp | 2749 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in HandleAsyncgeneratorresolveV8V8V8() local 2753 JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorResolve(thread, asyncGenerator, value, flag); in HandleAsyncgeneratorresolveV8V8V8() 2786 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in HandleAsyncgeneratorrejectV8() local 2789 JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorReject(thread, asyncGenerator, value); in HandleAsyncgeneratorrejectV8() 2818 JSTaggedValue asyncGenerator = GET_VREG_VALUE(v0); in HandleDeprecatedAsyncgeneratorrejectPrefV8V8() local 2821 JSTaggedValue res = SlowRuntimeStub::AsyncGeneratorReject(thread, asyncGenerator, value); in HandleDeprecatedAsyncgeneratorrejectPrefV8V8()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
| D | baseline_stubs.cpp | 559 GateRef asyncGenerator = GetVregValue(sp, ZExtInt8ToPtr(v0)); in GenerateCircuit() local 585 { asyncGenerator, value, flag }); in GenerateCircuit() 3521 GateRef asyncGenerator = GetVregValue(sp, ZExtInt8ToPtr(v0)); in GenerateCircuit() local 3524 { asyncGenerator, acc }); in GenerateCircuit()
|