diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-29 13:43:57 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-29 13:43:57 +0200 |
commit | aaf35112a438bb0cee03a9272139837387abf498 (patch) | |
tree | ab93c51185715d6038a12338451de759d9ad863e /Libraries/LibJS/Interpreter.h | |
parent | 97382677bd2cfb3fd5bd73942cc344ed425411a7 (diff) | |
download | serenity-aaf35112a438bb0cee03a9272139837387abf498.zip |
LibJS: Pass JS::Function around by reference more
Diffstat (limited to 'Libraries/LibJS/Interpreter.h')
-rw-r--r-- | Libraries/LibJS/Interpreter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Interpreter.h b/Libraries/LibJS/Interpreter.h index 0640b5a919..8ec4b6de15 100644 --- a/Libraries/LibJS/Interpreter.h +++ b/Libraries/LibJS/Interpreter.h @@ -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() { |