mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +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
Notes:
sideshowbarker
2024-07-19 08:05:09 +09:00
Author: https://github.com/awesomekling
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