mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibJS: Make Function::call() not require an Interpreter&
This makes a difference inside ScriptFunction::call(), which will now instantiate a temporary Interpreter if one is not attached to the VM.
This commit is contained in:
@@ -38,7 +38,7 @@ public:
|
||||
virtual void initialize(GlobalObject&) override;
|
||||
virtual ~ArrayConstructor() override;
|
||||
|
||||
virtual Value call(Interpreter&) override;
|
||||
virtual Value call() override;
|
||||
virtual Value construct(Interpreter&, Function& new_target) override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user