mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
LibJS/JIT: Support the GetById bytecode op
We can now do basic property (get) access in jitted code! :^)
This commit is contained in:
parent
8905682a16
commit
6a6ef6670c
3 changed files with 28 additions and 0 deletions
|
@ -559,6 +559,9 @@ public:
|
|||
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
|
||||
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
|
||||
|
||||
IdentifierTableIndex property() const { return m_property; }
|
||||
u32 cache_index() const { return m_cache_index; }
|
||||
|
||||
private:
|
||||
IdentifierTableIndex m_property;
|
||||
u32 m_cache_index { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue