summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Interpreter.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-29 13:43:57 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-29 13:43:57 +0200
commitaaf35112a438bb0cee03a9272139837387abf498 (patch)
treeab93c51185715d6038a12338451de759d9ad863e /Libraries/LibJS/Interpreter.h
parent97382677bd2cfb3fd5bd73942cc344ed425411a7 (diff)
downloadserenity-aaf35112a438bb0cee03a9272139837387abf498.zip
LibJS: Pass JS::Function around by reference more
Diffstat (limited to 'Libraries/LibJS/Interpreter.h')
-rw-r--r--Libraries/LibJS/Interpreter.h2
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()
{