mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
LibJS/Bytecode: Remove unused AST interpreter hacks from bytecode VM
This commit is contained in:
parent
196e04d1c7
commit
d1d24569f8
2 changed files with 0 additions and 11 deletions
|
@ -382,14 +382,6 @@ ThrowCompletionOr<void> Interpreter::continue_pending_unwind(Label const& resume
|
||||||
return {};
|
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
|
size_t Interpreter::pc() const
|
||||||
{
|
{
|
||||||
return m_pc ? m_pc->offset() : 0;
|
return m_pc ? m_pc->offset() : 0;
|
||||||
|
|
|
@ -93,8 +93,6 @@ public:
|
||||||
size_t pc() const;
|
size_t pc() const;
|
||||||
DeprecatedString debug_position() const;
|
DeprecatedString debug_position() const;
|
||||||
|
|
||||||
VM::InterpreterExecutionScope ast_interpreter_scope(Realm&);
|
|
||||||
|
|
||||||
Optional<Value>& this_value() { return m_this_value; }
|
Optional<Value>& this_value() { return m_this_value; }
|
||||||
|
|
||||||
void visit_edges(Cell::Visitor&);
|
void visit_edges(Cell::Visitor&);
|
||||||
|
@ -125,7 +123,6 @@ private:
|
||||||
Optional<Value> m_return_value;
|
Optional<Value> m_return_value;
|
||||||
Optional<Value> m_saved_exception;
|
Optional<Value> m_saved_exception;
|
||||||
Executable* m_current_executable { nullptr };
|
Executable* m_current_executable { nullptr };
|
||||||
OwnPtr<JS::Interpreter> m_ast_interpreter;
|
|
||||||
BasicBlock const* m_current_block { nullptr };
|
BasicBlock const* m_current_block { nullptr };
|
||||||
InstructionStreamIterator* m_pc { nullptr };
|
InstructionStreamIterator* m_pc { nullptr };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue