1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:37:46 +00:00

LibJS: Pass JS::Function around by reference more

This commit is contained in:
Andreas Kling 2020-04-29 13:43:57 +02:00
parent 97382677bd
commit aaf35112a4
8 changed files with 22 additions and 22 deletions

View file

@ -103,7 +103,7 @@ public:
void enter_scope(const ScopeNode&, ArgumentVector, ScopeType);
void exit_scope(const ScopeNode&);
Value call(Function*, Value this_value = {}, Optional<MarkedValueList> arguments = {});
Value call(Function&, Value this_value = {}, Optional<MarkedValueList> arguments = {});
CallFrame& push_call_frame()
{