1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 22:15:07 +00:00

LibJS: Remove Bytecode::Register::global_object()

This is unused.
This commit is contained in:
Linus Groh 2022-08-22 19:38:55 +01:00
parent 275dea9d98
commit 987927a596
2 changed files with 0 additions and 8 deletions

View file

@ -68,7 +68,6 @@ Interpreter::ValueAndFrame Interpreter::run_and_return_frame(Executable const& e
m_register_windows.append(make<RegisterWindow>(MarkedVector<Value>(vm().heap()), MarkedVector<Environment*>(vm().heap()), MarkedVector<Environment*>(vm().heap())));
registers().resize(executable.number_of_registers);
registers()[Register::global_object_index] = Value(&m_realm.global_object());
for (;;) {
Bytecode::InstructionStreamIterator pc(block->instruction_stream());