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

LibJS/JIT: Compile the GetGlobal bytecode instruction

This commit is contained in:
Andreas Kling 2023-10-20 12:56:12 +02:00
parent 12898f5aef
commit 3974ce2069
6 changed files with 81 additions and 50 deletions

View file

@ -508,6 +508,9 @@ public:
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
IdentifierTableIndex identifier() const { return m_identifier; }
u32 cache_index() const { return m_cache_index; }
private:
IdentifierTableIndex m_identifier;
u32 m_cache_index { 0 };