1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 19:15:06 +00:00

LibJS/Bytecode: Move IteratorToArray impl to CommonImplementations

This commit is contained in:
Simon Wanner 2023-10-29 17:07:25 +01:00 committed by Andreas Kling
parent c697ff61f6
commit 5179ff5fc9
3 changed files with 25 additions and 22 deletions

View file

@ -37,5 +37,6 @@ ThrowCompletionOr<ECMAScriptFunctionObject*> new_class(VM&, ClassExpression cons
ThrowCompletionOr<NonnullGCPtr<Object>> super_call_with_argument_array(VM&, Value argument_array, bool is_synthetic);
Object* iterator_to_object(VM&, IteratorRecord);
IteratorRecord object_to_iterator(VM&, Object&);
ThrowCompletionOr<NonnullGCPtr<Array>> iterator_to_array(VM&, Value iterator);
}