1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

LibJS: Rename FunctionKind::{Regular => Normal}

This is what CreateDynamicFunction calls it.
This commit is contained in:
Linus Groh 2022-01-15 00:30:02 +01:00
parent 0d65af5e0f
commit 0c73fbbba5
8 changed files with 24 additions and 24 deletions

View file

@ -76,7 +76,7 @@ ThrowCompletionOr<Value> FunctionConstructor::call()
ThrowCompletionOr<Object*> FunctionConstructor::construct(FunctionObject& new_target)
{
auto& vm = this->vm();
auto function = TRY(create_dynamic_function_node(global_object(), new_target, FunctionKind::Regular));
auto function = TRY(create_dynamic_function_node(global_object(), new_target, FunctionKind::Normal));
OwnPtr<Interpreter> local_interpreter;
Interpreter* interpreter = vm.interpreter_if_exists();