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:
parent
0d65af5e0f
commit
0c73fbbba5
8 changed files with 24 additions and 24 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue