diff options
-rw-r--r-- | Libraries/LibJS/Heap/Heap.cpp | 5 | ||||
-rw-r--r-- | Libraries/LibJS/Heap/Heap.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Libraries/LibJS/Heap/Heap.cpp b/Libraries/LibJS/Heap/Heap.cpp index 1bfa91e54e..cbb012763c 100644 --- a/Libraries/LibJS/Heap/Heap.cpp +++ b/Libraries/LibJS/Heap/Heap.cpp @@ -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()) { diff --git a/Libraries/LibJS/Heap/Heap.h b/Libraries/LibJS/Heap/Heap.h index 0d727210a4..9f2697a0f2 100644 --- a/Libraries/LibJS/Heap/Heap.h +++ b/Libraries/LibJS/Heap/Heap.h @@ -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; } |