Home
last modified time | relevance | path

Searched refs:CompletionRecordType (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_async_generator.cpp45 factory->NewCompletionRecord(CompletionRecordType::NORMAL, value); in AsyncGeneratorPrototypeNext()
62 factory->NewCompletionRecord(CompletionRecordType::RETURN, value); in AsyncGeneratorPrototypeReturn()
79 factory->NewCompletionRecord(CompletionRecordType::THROW, exception); in AsyncGeneratorPrototypeThrow()
Dbuiltins_generator.cpp69 factory->NewCompletionRecord(CompletionRecordType::RETURN, value); in GeneratorPrototypeReturn()
94 factory->NewCompletionRecord(CompletionRecordType::THROW, exception); in GeneratorPrototypeThrow()
Dbuiltins_promise.cpp508 CompletionRecordType::NORMAL, JSHandle<JSTaggedValue>(thread, capa->GetPromise())); in PerformPromiseAll()
606 factory->NewCompletionRecord(CompletionRecordType::NORMAL, promise); in PerformPromiseRace()
768 factory->NewCompletionRecord(CompletionRecordType::THROW, errorTagged)); in PerformPromiseAny()
775 CompletionRecordType::NORMAL, resultCapabilityHandle); in PerformPromiseAny()
803 factory->NewCompletionRecord(CompletionRecordType::THROW, promiseResult); in PerformPromiseAny()
835 factory->NewCompletionRecord(CompletionRecordType::THROW, taggedResult); in PerformPromiseAny()
952 factory->NewCompletionRecord(CompletionRecordType::THROW, throwValue); in PerformPromiseAllSettled()
959 CompletionRecordType::NORMAL, resultCapabilityHandle); in PerformPromiseAllSettled()
987 factory->NewCompletionRecord(CompletionRecordType::THROW, promiseResult); in PerformPromiseAllSettled()
1039 factory->NewCompletionRecord(CompletionRecordType::THROW, taggedResult); in PerformPromiseAllSettled()
Dbuiltins_map.cpp298 … factory->NewCompletionRecord(CompletionRecordType::THROW, JSHandle<JSTaggedValue>(typeError))); in AddEntriesFromIterable()
Dbuiltins.cpp1884 … factory_->NewCompletionRecord(CompletionRecordType::NORMAL, globalConst->GetHandledUndefined()); in InitializeIterator()
/arkcompiler/ets_runtime/ecmascript/
Daccessor_data.h74 enum class CompletionRecordType : uint8_t { enum
92 return GetType() == CompletionRecordType::THROW; in IsThrow()
102 FIRST_BIT_FIELD(BitField, Type, CompletionRecordType, TYPE_BITS)
Djs_async_generator_object.cpp150 CompletionRecordType type = completion->GetType(); in AsyncGeneratorResumeNext()
152 if (thread->HasPendingException() || type != CompletionRecordType::NORMAL) { in AsyncGeneratorResumeNext()
163 if (completion->GetType() == CompletionRecordType::RETURN) { in AsyncGeneratorResumeNext()
203 ASSERT(completion->GetType() == CompletionRecordType::THROW); in AsyncGeneratorResumeNext()
235 if (completion->GetType() == CompletionRecordType::NORMAL) { in AsyncGeneratorResumeNext()
238 if (completion->GetType() == CompletionRecordType::RETURN) { in AsyncGeneratorResumeNext()
241 if (completion->GetType() == CompletionRecordType::THROW) { in AsyncGeneratorResumeNext()
Djs_generator_object.cpp110 if (abruptCompletion->GetType() == CompletionRecordType::RETURN) { in GeneratorResumeAbrupt()
135 if (abruptCompletion->GetType() == CompletionRecordType::RETURN) { in GeneratorResumeAbrupt()
Djs_async_function.cpp190 factory->NewCompletionRecord(CompletionRecordType::THROW, reason); in AsyncFunctionAwaitRejected()
Decma_macros.h413 factory->NewCompletionRecord(CompletionRecordType::THROW, value); \
423 factory->NewCompletionRecord(CompletionRecordType::THROW, value); \
Djs_iterator.cpp34 …edValue> record = JSHandle<JSTaggedValue>(factory->NewCompletionRecord(CompletionRecordType::THROW, in IteratorCloseAndReturn()
Djs_list_format.cpp251 … factory->NewCompletionRecord(CompletionRecordType::THROW, JSHandle<JSTaggedValue>(typeError))); in StringListFromIterable()
Dobject_factory.h178 enum class CompletionRecordType : uint8_t;
408 …JSHandle<CompletionRecord> NewCompletionRecord(CompletionRecordType type, JSHandle<JSTaggedValue> …
Dobject_factory.cpp1778 JSHandle<CompletionRecord> ObjectFactory::NewCompletionRecord(CompletionRecordType type, JSHandle<J… in NewCompletionRecord()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_generator_object_test.cpp140 CompletionRecordType type = CompletionRecordType::RETURN; in HWTEST_F_L0()
Daccessor_data_test.cpp241 factory->NewCompletionRecord(CompletionRecordType::NORMAL, exceptionHandle); in HWTEST_F_L0()
245 factory->NewCompletionRecord(CompletionRecordType::THROW, exceptionHandle); in HWTEST_F_L0()
Ddump_test.cpp975 … factory->NewCompletionRecord(CompletionRecordType::NORMAL, globalConst->GetHandledEmptyArray()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h225 CompletionRecordType::THROW, JSHandle<JSTaggedValue>(thread, thread->GetException()))); in RuntimeCloseIterator()
228 …record = JSHandle<JSTaggedValue>(factory->NewCompletionRecord(CompletionRecordType::NORMAL, undefi… in RuntimeCloseIterator()