mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +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:
@@ -72,7 +72,7 @@ Value NumberConstructor::call()
|
||||
return vm().argument(0).to_number(global_object());
|
||||
}
|
||||
|
||||
Value NumberConstructor::construct(Interpreter&, Function&)
|
||||
Value NumberConstructor::construct(Function&)
|
||||
{
|
||||
double number = 0;
|
||||
if (vm().argument_count()) {
|
||||
|
||||
Reference in New Issue
Block a user