From 5c4b1e3d23010882ac040d9227201c3141dbcf57 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Tue, 25 Jan 2022 14:58:25 -0500 Subject: LibJS: Remove erroneous variadic template from some call overloads These function do not use the Args variadic template. --- Userland/Libraries/LibJS/Runtime/AbstractOperations.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Userland/Libraries') diff --git a/Userland/Libraries/LibJS/Runtime/AbstractOperations.h b/Userland/Libraries/LibJS/Runtime/AbstractOperations.h index 98c4beb624..6587d9d0d2 100644 --- a/Userland/Libraries/LibJS/Runtime/AbstractOperations.h +++ b/Userland/Libraries/LibJS/Runtime/AbstractOperations.h @@ -54,13 +54,11 @@ ThrowCompletionOr perform_eval(Value, GlobalObject&, CallerMode, EvalMode ThrowCompletionOr eval_declaration_instantiation(VM& vm, GlobalObject& global_object, Program const& program, Environment* variable_environment, Environment* lexical_environment, PrivateEnvironment* private_environment, bool strict); // 7.3.14 Call ( F, V [ , argumentsList ] ), https://tc39.es/ecma262/#sec-call -template ALWAYS_INLINE ThrowCompletionOr call(GlobalObject& global_object, Value function, Value this_value, MarkedValueList arguments_list) { return call_impl(global_object, function, this_value, move(arguments_list)); } -template ALWAYS_INLINE ThrowCompletionOr call(GlobalObject& global_object, Value function, Value this_value, Optional arguments_list) { return call_impl(global_object, function, this_value, move(arguments_list)); @@ -78,13 +76,11 @@ ALWAYS_INLINE ThrowCompletionOr call(GlobalObject& global_object, Value f return call_impl(global_object, function, this_value); } -template ALWAYS_INLINE ThrowCompletionOr call(GlobalObject& global_object, FunctionObject& function, Value this_value, MarkedValueList arguments_list) { return call_impl(global_object, function, this_value, move(arguments_list)); } -template ALWAYS_INLINE ThrowCompletionOr call(GlobalObject& global_object, FunctionObject& function, Value this_value, Optional arguments_list) { return call_impl(global_object, function, this_value, move(arguments_list)); -- cgit v1.2.3