mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
LibJS: Port create_iterator_result_object() to NonnullGCPtr
This commit is contained in:
parent
aff1ec6014
commit
d4eaaf905c
4 changed files with 5 additions and 5 deletions
|
@ -184,7 +184,7 @@ Completion async_iterator_close(VM& vm, Iterator const& iterator_record, Complet
|
|||
}
|
||||
|
||||
// 7.4.10 CreateIterResultObject ( value, done ), https://tc39.es/ecma262/#sec-createiterresultobject
|
||||
Object* create_iterator_result_object(VM& vm, Value value, bool done)
|
||||
NonnullGCPtr<Object> create_iterator_result_object(VM& vm, Value value, bool done)
|
||||
{
|
||||
auto& realm = *vm.current_realm();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue