mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:17:44 +00:00
LibJS: Add GetById bytecode instruction for object property retrieval
Same as PutById but in the other direction. :^)
This commit is contained in:
parent
14cfc44855
commit
32561bb90d
4 changed files with 45 additions and 0 deletions
|
@ -1119,6 +1119,7 @@ public:
|
|||
virtual Value execute(Interpreter&, GlobalObject&) const override;
|
||||
virtual void dump(int indent) const override;
|
||||
virtual Reference to_reference(Interpreter&, GlobalObject&) const override;
|
||||
virtual Optional<Bytecode::Register> generate_bytecode(Bytecode::Generator&) const override;
|
||||
|
||||
bool is_computed() const { return m_computed; }
|
||||
const Expression& object() const { return *m_object; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue