mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +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:
@@ -39,7 +39,7 @@ public:
|
||||
virtual ~ObjectConstructor() override;
|
||||
|
||||
virtual Value call() override;
|
||||
virtual Value construct(Interpreter&, Function& new_target) override;
|
||||
virtual Value construct(Function& new_target) override;
|
||||
|
||||
private:
|
||||
virtual bool has_constructor() const override { return true; }
|
||||
|
||||
Reference in New Issue
Block a user