LibJS: Remove Cell::interpreter()

It's never necessary to find the current Interpreter for a given Cell
anymore. Get rid of this accessor.
This commit is contained in:
Andreas Kling 2020-10-04 13:56:47 +02:00
parent a007b3c379
commit bfa97b9357
Notes: sideshowbarker 2024-07-19 02:04:31 +09:00
2 changed files with 0 additions and 12 deletions

View file

@ -56,16 +56,6 @@ VM& Cell::vm() const
return heap().vm();
}
Interpreter& Cell::interpreter()
{
return heap().interpreter();
}
Interpreter& Cell::interpreter() const
{
return heap().interpreter();
}
const LogStream& operator<<(const LogStream& stream, const Cell* cell)
{
if (!cell)

View file

@ -61,8 +61,6 @@ public:
Heap& heap() const;
VM& vm() const;
Interpreter& interpreter();
Interpreter& interpreter() const;
protected:
Cell() { }