mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +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:
parent
be31805e8b
commit
1ff9d33131
42 changed files with 167 additions and 142 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
ProxyObject(Object& target, Object& handler, Object& prototype);
|
||||
virtual ~ProxyObject() override;
|
||||
|
||||
virtual Value call(Interpreter&) override;
|
||||
virtual Value call() override;
|
||||
virtual Value construct(Interpreter&, Function& new_target) override;
|
||||
virtual const FlyString& name() const override;
|
||||
virtual LexicalEnvironment* create_environment() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue