1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:57:43 +00:00

LibJS/Bytecode: Remove unused AST interpreter hacks from bytecode VM

This commit is contained in:
Andreas Kling 2023-08-07 14:10:34 +02:00
parent 196e04d1c7
commit d1d24569f8
2 changed files with 0 additions and 11 deletions

View file

@ -382,14 +382,6 @@ ThrowCompletionOr<void> Interpreter::continue_pending_unwind(Label const& resume
return {};
}
VM::InterpreterExecutionScope Interpreter::ast_interpreter_scope(Realm& realm)
{
if (!m_ast_interpreter)
m_ast_interpreter = JS::Interpreter::create_with_existing_realm(realm);
return { *m_ast_interpreter };
}
size_t Interpreter::pc() const
{
return m_pc ? m_pc->offset() : 0;