mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 23:42:17 +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
Notes:
sideshowbarker
2024-07-18 03:22:48 +09:00
Author: https://github.com/IdanHo
Commit: 14e99b9b68
Pull-request: https://github.com/SerenityOS/serenity/pull/10236
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