/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_async_generator.cpp | 42 factory->NewCompletionRecord(CompletionRecordType::NORMAL, value); in AsyncGeneratorPrototypeNext() 59 factory->NewCompletionRecord(CompletionRecordType::RETURN, value); in AsyncGeneratorPrototypeReturn() 76 factory->NewCompletionRecord(CompletionRecordType::THROW, exception); in AsyncGeneratorPrototypeThrow()
|
H A D | builtins_generator.cpp | 68 factory->NewCompletionRecord(CompletionRecordType::RETURN, value); in GeneratorPrototypeReturn() 93 factory->NewCompletionRecord(CompletionRecordType::THROW, exception); in GeneratorPrototypeThrow()
|
H A D | builtins_promise.cpp | 496 CompletionRecordType::NORMAL, JSHandle<JSTaggedValue>(thread, capa->GetPromise())); in PerformPromiseAll() 594 factory->NewCompletionRecord(CompletionRecordType::NORMAL, promise); in PerformPromiseRace() 756 factory->NewCompletionRecord(CompletionRecordType::THROW, errorTagged)); in PerformPromiseAny() 763 CompletionRecordType::NORMAL, resultCapabilityHandle); in PerformPromiseAny() 791 factory->NewCompletionRecord(CompletionRecordType::THROW, promiseResult); in PerformPromiseAny() 823 factory->NewCompletionRecord(CompletionRecordType::THROW, taggedResult); in PerformPromiseAny() 940 factory->NewCompletionRecord(CompletionRecordType::THROW, throwValue); in PerformPromiseAllSettled() 947 CompletionRecordType::NORMAL, resultCapabilityHandle); in PerformPromiseAllSettled() 975 factory->NewCompletionRecord(CompletionRecordType::THROW, promiseResult); in PerformPromiseAllSettled() 1027 factory->NewCompletionRecord(CompletionRecordType in PerformPromiseAllSettled() [all...] |
H A D | builtins_map.cpp | 296 factory->NewCompletionRecord(CompletionRecordType::THROW, JSHandle<JSTaggedValue>(typeError))); in AddEntriesFromIterable()
|
H A D | builtins_shared_map.cpp | 291 factory->NewCompletionRecord(CompletionRecordType::THROW, JSHandle<JSTaggedValue>(typeError))); in AddEntriesFromIterable()
|
H A D | builtins.cpp | 1861 factory_->NewCompletionRecord(CompletionRecordType::NORMAL, globalConst->GetHandledUndefined()); in InitializeIterator()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | accessor_data.h | 95 enum class CompletionRecordType : uint8_t { class 113 return GetType() == CompletionRecordType::THROW; in IsThrow() 123 FIRST_BIT_FIELD(BitField, Type, CompletionRecordType, TYPE_BITS)
|
H A D | js_async_generator_object.cpp | 144 CompletionRecordType type = completion->GetType(); in AsyncGeneratorResumeNext() 146 if (thread->HasPendingException() || type != CompletionRecordType::NORMAL) { in AsyncGeneratorResumeNext() 157 if (completion->GetType() == CompletionRecordType::RETURN) { in AsyncGeneratorResumeNext() 197 ASSERT(completion->GetType() == CompletionRecordType::THROW); in AsyncGeneratorResumeNext() 229 if (completion->GetType() == CompletionRecordType::NORMAL) { in AsyncGeneratorResumeNext() 232 if (completion->GetType() == CompletionRecordType::RETURN) { in AsyncGeneratorResumeNext() 235 if (completion->GetType() == CompletionRecordType::THROW) { in AsyncGeneratorResumeNext()
|
H A D | js_generator_object.cpp | 112 if (abruptCompletion->GetType() == CompletionRecordType::RETURN) { in GeneratorResumeAbrupt() 137 if (abruptCompletion->GetType() == CompletionRecordType::RETURN) { in GeneratorResumeAbrupt()
|
H A D | js_async_function.cpp | 186 factory->NewCompletionRecord(CompletionRecordType::THROW, reason); in AsyncFunctionAwaitRejected()
|
H A D | ecma_macros.h | 518 factory->NewCompletionRecord(CompletionRecordType::THROW, value); \ 528 factory->NewCompletionRecord(CompletionRecordType::THROW, value); \
|
H A D | js_iterator.cpp | 28 JSHandle<JSTaggedValue> record = JSHandle<JSTaggedValue>(factory->NewCompletionRecord(CompletionRecordType::THROW, in IteratorCloseAndReturn()
|
H A D | js_list_format.cpp | 243 factory->NewCompletionRecord(CompletionRecordType::THROW, JSHandle<JSTaggedValue>(typeError))); in StringListFromIterable()
|
H A D | object_factory.h | 187 enum class CompletionRecordType : uint8_t; class 459 JSHandle<CompletionRecord> NewCompletionRecord(CompletionRecordType type, JSHandle<JSTaggedValue> value);
|
H A D | object_factory.cpp | 2206 JSHandle<CompletionRecord> ObjectFactory::NewCompletionRecord(CompletionRecordType type, JSHandle<JSTaggedValue> value) in NewCompletionRecord()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_generator_object_test.cpp | 120 CompletionRecordType type = CompletionRecordType::RETURN; in HWTEST_F_L0()
|
H A D | accessor_data_test.cpp | 217 factory->NewCompletionRecord(CompletionRecordType::NORMAL, exceptionHandle); in HWTEST_F_L0() 221 factory->NewCompletionRecord(CompletionRecordType::THROW, exceptionHandle); in HWTEST_F_L0()
|
H A D | dump_test.cpp | 1206 factory->NewCompletionRecord(CompletionRecordType::NORMAL, globalConst->GetHandledEmptyArray()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs-inl.h | 236 CompletionRecordType::THROW, JSHandle<JSTaggedValue>(thread, thread->GetException()))); in RuntimeCloseIterator() 239 record = JSHandle<JSTaggedValue>(factory->NewCompletionRecord(CompletionRecordType::NORMAL, undefinedVal)); in RuntimeCloseIterator()
|