1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

LibJS: Generate bytecode for throw statements

This commit is contained in:
Gunnar Beutner 2021-06-09 18:18:56 +02:00 committed by Andreas Kling
parent e9bafd768d
commit b78f1c1261
5 changed files with 35 additions and 1 deletions

View file

@ -1245,6 +1245,7 @@ public:
virtual void dump(int indent) const override;
virtual Value execute(Interpreter&, GlobalObject&) const override;
virtual void generate_bytecode(Bytecode::Generator&) const override;
private:
NonnullRefPtr<Expression> m_argument;