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
commit a0412e0d5e
Notes: sideshowbarker 2024-07-19 17:27:15 +09:00
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;