mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibJS: Move bytecode interpreter's inner loop to its own function
This commit is contained in:
@@ -92,6 +92,8 @@ public:
|
||||
void visit_edges(Cell::Visitor&);
|
||||
|
||||
private:
|
||||
void run_bytecode();
|
||||
|
||||
CallFrame& call_frame()
|
||||
{
|
||||
return m_call_frames.last().visit([](auto& x) -> CallFrame& { return *x; });
|
||||
|
||||
Reference in New Issue
Block a user