diff options
author | Andreas Kling <kling@serenityos.org> | 2021-06-11 10:46:46 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-11 10:46:46 +0200 |
commit | af48a066c6c92377bb01d50c83c5a8a6b89ffd27 (patch) | |
tree | 9d802003dc3e81af02b40745225724a84a27581f /Userland/Libraries/LibJS/AST.h | |
parent | 749a3b9245d83101ea6ef19c7a4be2ed454ed292 (diff) | |
download | serenity-af48a066c6c92377bb01d50c83c5a8a6b89ffd27.zip |
LibJS: Add bytecode generation for FunctionExpression :^)
Diffstat (limited to 'Userland/Libraries/LibJS/AST.h')
-rw-r--r-- | Userland/Libraries/LibJS/AST.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/AST.h b/Userland/Libraries/LibJS/AST.h index ebc5967c03..25ba50f0c9 100644 --- a/Userland/Libraries/LibJS/AST.h +++ b/Userland/Libraries/LibJS/AST.h @@ -308,6 +308,8 @@ public: bool cannot_auto_rename() const { return m_cannot_auto_rename; } void set_cannot_auto_rename() { m_cannot_auto_rename = true; } + virtual void generate_bytecode(Bytecode::Generator&) const override; + private: bool m_cannot_auto_rename { false }; }; |