1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:57:44 +00:00

LibJS: Implement bytecode generation for BreakStatement

This commit is contained in:
xyanrch 2021-06-10 20:28:43 +08:00 committed by Ali Mohammad Pur
parent 73cf16f643
commit a0412e0d5e
4 changed files with 31 additions and 3 deletions

View file

@ -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;