mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibJS: Add a VM accessor to Bytecode::Interpreter :^)
This commit is contained in:
parent
69dddd4ef5
commit
6da5d17416
Notes:
sideshowbarker
2024-07-18 12:42:48 +09:00
Author: https://github.com/awesomekling
Commit: 6da5d17416
2 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue