diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Bytecode/Generator.h')
-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; }; |