diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2025-03-28 10:11:15 +0100 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2025-03-28 10:11:15 +0100 |
commit | 56c47f7d2a2a10575be758db70f28b2ad9567978 (patch) | |
tree | a49999e66403b93f14e6193db0776cbb643df5ee /quickjs-opcode.h | |
parent | 67de4952540250001ca608ce9a1c42d9aa381e07 (diff) | |
download | quickjs-56c47f7d2a2a10575be758db70f28b2ad9567978.tar.gz quickjs-56c47f7d2a2a10575be758db70f28b2ad9567978.zip |
fixed exception handling in AsyncFromSyncIterator and async for of
Diffstat (limited to 'quickjs-opcode.h')
-rw-r--r-- | quickjs-opcode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/quickjs-opcode.h b/quickjs-opcode.h index 02ef4a7..17448d7 100644 --- a/quickjs-opcode.h +++ b/quickjs-opcode.h @@ -207,8 +207,9 @@ DEF( for_of_start, 1, 1, 3, none) DEF(for_await_of_start, 1, 1, 3, none) DEF( for_in_next, 1, 1, 3, none) DEF( for_of_next, 2, 3, 5, u8) +DEF(for_await_of_next, 1, 3, 4, none) /* iter next catch_offset -> iter next catch_offset obj */ DEF(iterator_check_object, 1, 1, 1, none) -DEF(iterator_get_value_done, 1, 1, 2, none) +DEF(iterator_get_value_done, 1, 2, 3, none) /* catch_offset obj -> catch_offset value done */ DEF( iterator_close, 1, 3, 0, none) DEF( iterator_next, 1, 4, 4, none) DEF( iterator_call, 2, 4, 5, u8) |