1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

LibJS: Port iterator_step() to GCPtr

This commit is contained in:
Linus Groh 2023-04-15 16:23:03 +02:00
parent e54536421a
commit aff1ec6014
12 changed files with 19 additions and 19 deletions

View file

@ -526,7 +526,7 @@ ThrowCompletionOr<MarkedVector<Instant*>> get_possible_instants_for(VM& vm, Valu
auto list = MarkedVector<Instant*> { vm.heap() };
// 5. Let next be true.
Object* next = nullptr;
GCPtr<Object> next;
// 6. Repeat, while next is not false,
do {