diff options
author | Linus Groh <mail@linusgroh.de> | 2022-01-15 00:30:02 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-16 01:54:48 +0100 |
commit | 0c73fbbba515bca81a6e8db324124b99b7b68f01 (patch) | |
tree | 82f93632fb421060365a1bebd577139eb5513741 /Userland/Libraries/LibJS/Bytecode | |
parent | 0d65af5e0f9963f953ee8f6067898379d3440805 (diff) | |
download | serenity-0c73fbbba515bca81a6e8db324124b99b7b68f01.zip |
LibJS: Rename FunctionKind::{Regular => Normal}
This is what CreateDynamicFunction calls it.
Diffstat (limited to 'Userland/Libraries/LibJS/Bytecode')
-rw-r--r-- | Userland/Libraries/LibJS/Bytecode/Generator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Bytecode/Generator.h b/Userland/Libraries/LibJS/Bytecode/Generator.h index 6e5f520c79..066fae8a18 100644 --- a/Userland/Libraries/LibJS/Bytecode/Generator.h +++ b/Userland/Libraries/LibJS/Bytecode/Generator.h @@ -23,7 +23,7 @@ namespace JS::Bytecode { class Generator { public: - static Executable generate(ASTNode const&, FunctionKind = FunctionKind::Regular); + static Executable generate(ASTNode const&, FunctionKind = FunctionKind::Normal); Register allocate_register(); @@ -130,7 +130,7 @@ private: u32 m_next_register { 2 }; u32 m_next_block { 1 }; - FunctionKind m_enclosing_function_kind { FunctionKind::Regular }; + FunctionKind m_enclosing_function_kind { FunctionKind::Normal }; Vector<Label> m_continuable_scopes; Vector<Label> m_breakable_scopes; }; |