mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 17:55:08 +00:00
LibJS: Make Interpreter::construct() take a GlobalObject&
This commit is contained in:
parent
2fe4285693
commit
3ba17d8df7
3 changed files with 4 additions and 4 deletions
|
@ -135,7 +135,7 @@ JS_DEFINE_NATIVE_FUNCTION(ReflectObject::construct)
|
|||
}
|
||||
new_target = &new_target_value.as_function();
|
||||
}
|
||||
return interpreter.construct(*target, *new_target, move(arguments));
|
||||
return interpreter.construct(*target, *new_target, move(arguments), global_object);
|
||||
}
|
||||
|
||||
JS_DEFINE_NATIVE_FUNCTION(ReflectObject::define_property)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue