LibJS: Rename Function => FunctionObject

This commit is contained in:
Andreas Kling
2021-06-27 21:48:34 +02:00
parent e389ae3c97
commit ba9d5c4d54
Notes: sideshowbarker 2024-07-18 11:26:14 +09:00
114 changed files with 263 additions and 262 deletions

View File

@@ -43,7 +43,7 @@ Value GeneratorFunctionConstructor::call()
}
// 27.3.1.1 GeneratorFunction ( p1, p2, … , pn, body ), https://tc39.es/ecma262/#sec-generatorfunction
Value GeneratorFunctionConstructor::construct(Function& new_target)
Value GeneratorFunctionConstructor::construct(FunctionObject& new_target)
{
auto function = FunctionConstructor::create_dynamic_function_node(global_object(), new_target, FunctionKind::Generator);
if (!function)