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

LibJS: Add a NewObject bytecode instruction for ObjectExpression :^)

This commit is contained in:
Andreas Kling 2021-06-04 20:30:23 +02:00
parent f2863b5a89
commit bea6e31ddc
4 changed files with 38 additions and 0 deletions

View file

@ -1040,6 +1040,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:
NonnullRefPtrVector<ObjectProperty> m_properties;