LibJS: Delete unused m_arguments member in Interpreter

This commit is contained in:
Aliaksandr Kalenik 2025-04-24 01:13:12 +02:00 committed by Andreas Kling
commit ff751173ac
Notes: github-actions[bot] 2025-04-24 08:32:04 +00:00
2 changed files with 0 additions and 2 deletions

View file

@ -745,7 +745,6 @@ Interpreter::ResultAndReturnRegister Interpreter::run_executable(Executable& exe
VERIFY(registers_and_constants_and_locals_count <= running_execution_context.registers_and_constants_and_locals_and_arguments_span().size());
TemporaryChange restore_running_execution_context { m_running_execution_context, &running_execution_context };
TemporaryChange restore_arguments { m_arguments, running_execution_context.arguments() };
TemporaryChange restore_registers_and_constants_and_locals { m_registers_and_constants_and_locals, running_execution_context.registers_and_constants_and_locals_and_arguments_span() };
reg(Register::accumulator()) = initial_accumulator_value;

View file

@ -101,7 +101,6 @@ private:
GC::Ptr<Object> m_global_object { nullptr };
GC::Ptr<DeclarativeEnvironment> m_global_declarative_environment { nullptr };
Optional<size_t&> m_program_counter;
Span<Value> m_arguments;
Span<Value> m_registers_and_constants_and_locals;
Vector<Value> m_argument_values_buffer;
ExecutionContext* m_running_execution_context { nullptr };