optimize primitive type ACCESSORS

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
This commit is contained in:
wengchangcheng
2022-01-25 18:05:12 +08:00
parent 750850455e
commit 9a2b7d04e8
101 changed files with 1056 additions and 1449 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ JSTaggedValue JSIterator::IteratorCloseAndReturn(JSThread *thread, const JSHandl
ASSERT(thread->HasPendingException());
ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
JSTaggedValue exception = thread->GetException();
JSHandle<JSTaggedValue> record = JSHandle<JSTaggedValue>(factory->NewCompletionRecord(CompletionRecord::THROW,
JSHandle<JSTaggedValue> record = JSHandle<JSTaggedValue>(factory->NewCompletionRecord(CompletionRecordType::THROW,
JSHandle<JSTaggedValue>(thread, exception)));
JSHandle<JSTaggedValue> result = JSIterator::IteratorClose(thread, iter, record);
if (result->IsCompletionRecord()) {