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

LibJS: Add for loop bytecode generation

This commit is contained in:
Linus Groh 2021-06-08 10:54:40 +01:00 committed by Andreas Kling
parent 50ece3dd1b
commit 68ce69db88
2 changed files with 26 additions and 0 deletions

View file

@ -440,6 +440,7 @@ public:
virtual Value execute(Interpreter&, GlobalObject&) const override;
virtual void dump(int indent) const override;
virtual Optional<Bytecode::Register> generate_bytecode(Bytecode::Generator&) const override;
private:
RefPtr<ASTNode> m_init;