mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +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:
@@ -42,7 +42,7 @@ public:
|
||||
virtual ~NativeFunction() override;
|
||||
|
||||
virtual Value call() override;
|
||||
virtual Value construct(Interpreter&, Function& new_target) override;
|
||||
virtual Value construct(Function& new_target) override;
|
||||
|
||||
virtual const FlyString& name() const override { return m_name; };
|
||||
virtual bool has_constructor() const { return false; }
|
||||
|
||||
Reference in New Issue
Block a user