LibJS: Port iterator_step() to GCPtr

This commit is contained in:
Linus Groh 2023-04-15 16:23:03 +02:00
commit aff1ec6014
Notes: sideshowbarker 2024-07-16 23:05:02 +09:00
12 changed files with 19 additions and 19 deletions

View file

@ -1521,7 +1521,7 @@ void IDL::ParameterizedType::generate_sequence_from_iterable(SourceGenerator& ge
sequence_generator.append(R"~~~(
for (;;) {
auto* next@recursion_depth@ = TRY(JS::iterator_step(vm, iterator@recursion_depth@));
auto next@recursion_depth@ = TRY(JS::iterator_step(vm, iterator@recursion_depth@));
if (!next@recursion_depth@)
break;