summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/NativeFunction.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-09-27 18:45:21 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-27 20:26:58 +0200
commitf79d4c7347c1d5a9ca4dbc8fb4b1bfeb74c1d3a3 (patch)
treefb92b1a87707275b031ee2bcbf62f28a53b3d2c8 /Libraries/LibJS/Runtime/NativeFunction.cpp
parent340a115dfe9518eae3d76154fba9092c36526430 (diff)
downloadserenity-f79d4c7347c1d5a9ca4dbc8fb4b1bfeb74c1d3a3.zip
LibJS: Remove Interpreter& argument to Function::construct()
This is no longer needed, we can get everything we need from the VM.
Diffstat (limited to 'Libraries/LibJS/Runtime/NativeFunction.cpp')
-rw-r--r--Libraries/LibJS/Runtime/NativeFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/NativeFunction.cpp b/Libraries/LibJS/Runtime/NativeFunction.cpp
index 3785b4865b..caa77e3801 100644
--- a/Libraries/LibJS/Runtime/NativeFunction.cpp
+++ b/Libraries/LibJS/Runtime/NativeFunction.cpp
@@ -63,7 +63,7 @@ Value NativeFunction::call()
return m_native_function(vm(), global_object());
}
-Value NativeFunction::construct(Interpreter&, Function&)
+Value NativeFunction::construct(Function&)
{
return {};
}