From 56c47f7d2a2a10575be758db70f28b2ad9567978 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Fri, 28 Mar 2025 10:11:15 +0100 Subject: fixed exception handling in AsyncFromSyncIterator and async for of --- quickjs-opcode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'quickjs-opcode.h') 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) -- cgit v1.2.3