mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
LibJS: Change create_iterator_result_object's return type to Object*
This always returns an Object, so there's no reason to return a less explicit Value.
This commit is contained in:
parent
cdde3ba5c5
commit
14e99b9b68
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ Object* iterator_step(GlobalObject&, Object& iterator);
|
|||
bool iterator_complete(GlobalObject&, Object& iterator_result);
|
||||
Value iterator_value(GlobalObject&, Object& iterator_result);
|
||||
void iterator_close(Object& iterator);
|
||||
Value create_iterator_result_object(GlobalObject&, Value value, bool done);
|
||||
Object* create_iterator_result_object(GlobalObject&, Value value, bool done);
|
||||
MarkedValueList iterable_to_list(GlobalObject&, Value iterable, Value method = {});
|
||||
|
||||
enum class CloseOnAbrupt {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue