summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/AST.h
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-06-08 23:06:52 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-09 01:27:18 +0200
commita1e5711a2704b5d4577e037e3a4532cc2f6b2afb (patch)
treeeb14e85a16a34957018b332231cdf37f7018d103 /Userland/Libraries/LibJS/AST.h
parentb8a5ea1f8dbcf3d777a67c3eabd81071a4527765 (diff)
downloadserenity-a1e5711a2704b5d4577e037e3a4532cc2f6b2afb.zip
LibJS: Generate bytecode for array expressions
Diffstat (limited to 'Userland/Libraries/LibJS/AST.h')
-rw-r--r--Userland/Libraries/LibJS/AST.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/AST.h b/Userland/Libraries/LibJS/AST.h
index f35122cabb..2554792f5a 100644
--- a/Userland/Libraries/LibJS/AST.h
+++ b/Userland/Libraries/LibJS/AST.h
@@ -1070,6 +1070,7 @@ public:
virtual Value execute(Interpreter&, GlobalObject&) const override;
virtual void dump(int indent) const override;
+ virtual void generate_bytecode(Bytecode::Generator&) const override;
private:
Vector<RefPtr<Expression>> m_elements;