LibJS: Remove unused Heap::interpreter()
This commit is contained in:
parent
bfa97b9357
commit
4237089a21
Notes:
sideshowbarker
2024-07-19 02:04:29 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4237089a21a
2 changed files with 0 additions and 6 deletions
|
@ -57,11 +57,6 @@ Heap::~Heap()
|
|||
collect_garbage(CollectionType::CollectEverything);
|
||||
}
|
||||
|
||||
Interpreter& Heap::interpreter()
|
||||
{
|
||||
return vm().interpreter();
|
||||
}
|
||||
|
||||
Cell* Heap::allocate_cell(size_t size)
|
||||
{
|
||||
if (should_collect_on_every_allocation()) {
|
||||
|
|
|
@ -71,7 +71,6 @@ public:
|
|||
|
||||
void collect_garbage(CollectionType = CollectionType::CollectGarbage, bool print_report = false);
|
||||
|
||||
Interpreter& interpreter();
|
||||
VM& vm() { return m_vm; }
|
||||
|
||||
bool should_collect_on_every_allocation() const { return m_should_collect_on_every_allocation; }
|
||||
|
|
Loading…
Add table
Reference in a new issue