LibJS/JIT: Compile the GetGlobal bytecode instruction

This commit is contained in:
Andreas Kling 2023-10-20 12:56:12 +02:00
commit 3974ce2069
Notes: sideshowbarker 2024-07-17 08:59:18 +09:00
6 changed files with 81 additions and 50 deletions

View file

@ -14,5 +14,6 @@ namespace JS::Bytecode {
ThrowCompletionOr<NonnullGCPtr<Object>> base_object_for_get(Bytecode::Interpreter&, Value base_value);
ThrowCompletionOr<Value> get_by_id(Bytecode::Interpreter&, IdentifierTableIndex, Value base_value, Value this_value, u32 cache_index);
ThrowCompletionOr<Value> get_by_value(Bytecode::Interpreter&, Value base_value, Value property_key_value);
ThrowCompletionOr<Value> get_global(Bytecode::Interpreter&, IdentifierTableIndex, u32 cache_index);
}