LibJS/JIT: Compile the IteratorToArray instruction

This commit is contained in:
Simon Wanner 2023-10-29 17:10:14 +01:00 committed by Andreas Kling
commit 3dc5c8d28e
Notes: sideshowbarker 2024-07-17 03:03:37 +09:00
2 changed files with 15 additions and 1 deletions

View file

@ -112,7 +112,8 @@ private:
O(ThrowIfNotObject, throw_if_not_object) \
O(ThrowIfNullish, throw_if_nullish) \
O(IteratorResultValue, iterator_result_value) \
O(IteratorClose, iterator_close)
O(IteratorClose, iterator_close) \
O(IteratorToArray, iterator_to_array)
# define DECLARE_COMPILE_OP(OpTitleCase, op_snake_case) \
void compile_##op_snake_case(Bytecode::Op::OpTitleCase const&);