mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 01:08:56 +00:00
LibJS: Generate bytecode for throw statements
This commit is contained in:
parent
e9bafd768d
commit
b78f1c1261
Notes:
sideshowbarker
2024-07-18 12:32:58 +09:00
Author: https://github.com/gunnarbeutner
Commit: b78f1c1261
Pull-request: https://github.com/SerenityOS/serenity/pull/7952
Reviewed-by: https://github.com/alimpfard
5 changed files with 35 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue