mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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
Notes:
sideshowbarker
2024-07-19 02:04:31 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/bfa97b93576
2 changed files with 0 additions and 12 deletions
|
@ -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)
|
||||
|
|
|
@ -61,8 +61,6 @@ public:
|
|||
|
||||
Heap& heap() const;
|
||||
VM& vm() const;
|
||||
Interpreter& interpreter();
|
||||
Interpreter& interpreter() const;
|
||||
|
||||
protected:
|
||||
Cell() { }
|
||||
|
|
Loading…
Add table
Reference in a new issue