mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibJS: Inline VM::bytecode_interpreter()
This commit is contained in:
parent
35275651e3
commit
58925887ce
Notes:
github-actions[bot]
2025-04-29 00:10:45 +00:00
Author: https://github.com/awesomekling
Commit: 58925887ce
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4513
2 changed files with 1 additions and 6 deletions
|
@ -214,11 +214,6 @@ String const& VM::error_message(ErrorMessage type) const
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bytecode::Interpreter& VM::bytecode_interpreter()
|
|
||||||
{
|
|
||||||
return *m_bytecode_interpreter;
|
|
||||||
}
|
|
||||||
|
|
||||||
struct ExecutionContextRootsCollector : public Cell::Visitor {
|
struct ExecutionContextRootsCollector : public Cell::Visitor {
|
||||||
virtual void visit_impl(GC::Cell& cell) override
|
virtual void visit_impl(GC::Cell& cell) override
|
||||||
{
|
{
|
||||||
|
|
|
@ -53,7 +53,7 @@ public:
|
||||||
GC::Heap& heap() { return m_heap; }
|
GC::Heap& heap() { return m_heap; }
|
||||||
GC::Heap const& heap() const { 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;
|
void dump_backtrace() const;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue