mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
LibJS: Remove GlobalObject& argument from VM::construct()
We can just get the global object from the constructor function.
This commit is contained in:
parent
f5feb1d2cd
commit
93a07ba962
6 changed files with 9 additions and 8 deletions
|
@ -213,7 +213,7 @@ public:
|
|||
return throw_exception(global_object, T::create(global_object, String::formatted(type.message(), forward<Args>(args)...)));
|
||||
}
|
||||
|
||||
Value construct(Function&, Function& new_target, Optional<MarkedValueList> arguments, GlobalObject&);
|
||||
Value construct(Function&, Function& new_target, Optional<MarkedValueList> arguments);
|
||||
|
||||
String join_arguments(size_t start_index = 0) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue