LibJS: Remove unused Heap::interpreter()

This commit is contained in:
Andreas Kling 2020-10-04 16:27:46 +02:00
parent bfa97b9357
commit 4237089a21
Notes: sideshowbarker 2024-07-19 02:04:29 +09:00
2 changed files with 0 additions and 6 deletions

View file

@ -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()) {

View file

@ -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; }