1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

LibJS: Inline VM::bytecode_interpreter()

This commit is contained in:
Andreas Kling 2025-04-28 21:13:19 +02:00 committed by Andreas Kling
parent 35275651e3
commit 58925887ce
Notes: github-actions[bot] 2025-04-29 00:10:45 +00:00
2 changed files with 1 additions and 6 deletions

View file

@ -214,11 +214,6 @@ String const& VM::error_message(ErrorMessage type) const
return message;
}
Bytecode::Interpreter& VM::bytecode_interpreter()
{
return *m_bytecode_interpreter;
}
struct ExecutionContextRootsCollector : public Cell::Visitor {
virtual void visit_impl(GC::Cell& cell) override
{

View file

@ -53,7 +53,7 @@ public:
GC::Heap& heap() { return m_heap; }
GC::Heap const& heap() const { return m_heap; }
Bytecode::Interpreter& bytecode_interpreter();
Bytecode::Interpreter& bytecode_interpreter() { return *m_bytecode_interpreter; }
void dump_backtrace() const;