mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:37:44 +00:00
LibJS: Move bytecode interpreter's inner loop to its own function
This commit is contained in:
parent
951a85992b
commit
9fe38245b2
2 changed files with 23 additions and 15 deletions
|
@ -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; });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue