summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/AST.h
diff options
context:
space:
mode:
authorxyanrch <9868140802qq.com>2021-06-10 20:28:43 +0800
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-06-10 21:48:20 +0430
commita0412e0d5e828cd10f8089340d511d5cb0e8f869 (patch)
tree26dee295e7b770defbb9c7accc8717723166dd1e /Userland/Libraries/LibJS/AST.h
parent73cf16f643b22dccf050d9f1e248988f5df78869 (diff)
downloadserenity-a0412e0d5e828cd10f8089340d511d5cb0e8f869.zip
LibJS: Implement bytecode generation for BreakStatement
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 f99363a96b..24cb119328 100644
--- a/Userland/Libraries/LibJS/AST.h
+++ b/Userland/Libraries/LibJS/AST.h
@@ -1300,6 +1300,7 @@ public:
virtual Value execute(Interpreter&, GlobalObject&) const override;
const FlyString& target_label() const { return m_target_label; }
+ virtual void generate_bytecode(Bytecode::Generator&) const override;
private:
FlyString m_target_label;