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
Notes: sideshowbarker 2024-07-17 08:59:18 +09:00
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 };