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

LibJS/JIT: Compile the GetByIdWithThis instruction

This commit is contained in:
Simon Wanner 2023-10-29 21:39:02 +01:00 committed by Andreas Kling
parent ad81f49b02
commit 569ca57e22
3 changed files with 27 additions and 1 deletions

View file

@ -604,6 +604,10 @@ public:
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
IdentifierTableIndex property() const { return m_property; }
Register this_value() const { return m_this_value; }
u32 cache_index() const { return m_cache_index; }
private:
IdentifierTableIndex m_property;
Register m_this_value;