mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibJS: Add a VM accessor to Bytecode::Interpreter :^)
This commit is contained in:
@@ -7,11 +7,13 @@
|
||||
#include <LibJS/Bytecode/Block.h>
|
||||
#include <LibJS/Bytecode/Instruction.h>
|
||||
#include <LibJS/Bytecode/Interpreter.h>
|
||||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
|
||||
namespace JS::Bytecode {
|
||||
|
||||
Interpreter::Interpreter(GlobalObject& global_object)
|
||||
: m_global_object(global_object)
|
||||
: m_vm(global_object.vm())
|
||||
, m_global_object(global_object)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user