mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
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:
parent
a007b3c379
commit
bfa97b9357
2 changed files with 0 additions and 12 deletions
|
@ -56,16 +56,6 @@ VM& Cell::vm() const
|
||||||
return heap().vm();
|
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)
|
const LogStream& operator<<(const LogStream& stream, const Cell* cell)
|
||||||
{
|
{
|
||||||
if (!cell)
|
if (!cell)
|
||||||
|
|
|
@ -61,8 +61,6 @@ public:
|
||||||
|
|
||||||
Heap& heap() const;
|
Heap& heap() const;
|
||||||
VM& vm() const;
|
VM& vm() const;
|
||||||
Interpreter& interpreter();
|
|
||||||
Interpreter& interpreter() const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Cell() { }
|
Cell() { }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue