mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 20:29:42 +00:00
LibJS: Remove Interpreter& argument to Function::construct()
This is no longer needed, we can get everything we need from the VM.
This commit is contained in:
@@ -67,7 +67,7 @@ Value StringConstructor::call()
|
||||
return string;
|
||||
}
|
||||
|
||||
Value StringConstructor::construct(Interpreter&, Function&)
|
||||
Value StringConstructor::construct(Function&)
|
||||
{
|
||||
PrimitiveString* primitive_string = nullptr;
|
||||
if (!vm().argument_count())
|
||||
|
||||
Reference in New Issue
Block a user