mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LibJS+LibWeb: Function calls should always go through Interpreter
This ensures that we set up a call frame with |this| and arguments.
This commit is contained in:
parent
30440134cb
commit
62d5f79388
2 changed files with 5 additions and 5 deletions
|
@ -88,7 +88,7 @@ public:
|
|||
void enter_scope(const ScopeNode&, Vector<Argument>, ScopeType);
|
||||
void exit_scope(const ScopeNode&);
|
||||
|
||||
Value call(Function*, Value this_value, const Vector<Value>& arguments);
|
||||
Value call(Function*, Value this_value = {}, const Vector<Value>& arguments = {});
|
||||
|
||||
CallFrame& push_call_frame()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue