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

LibJS/Bytecode: Add support for new.target

This commit is contained in:
Luke Wilde 2022-03-19 19:40:21 +00:00 committed by Andreas Kling
parent fd235d8a06
commit eac5534ce4
5 changed files with 46 additions and 0 deletions

View file

@ -1866,6 +1866,7 @@ public:
virtual Completion execute(Interpreter&, GlobalObject&) const override;
virtual void dump(int indent) const override;
virtual Bytecode::CodeGenerationErrorOr<void> generate_bytecode(Bytecode::Generator&) const override;
private:
Type m_type;