summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Heap/Heap.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-10-04 16:27:46 +0200
committerAndreas Kling <kling@serenityos.org>2020-10-04 17:03:33 +0200
commit4237089a21a86a2610929a68dafa72c0f4e20ff9 (patch)
tree7a9afaf80110543a21dba6ec4ebbc4d88fa116fd /Libraries/LibJS/Heap/Heap.cpp
parentbfa97b93576e6d13dd29a3feb5a05ae4848ff38a (diff)
downloadserenity-4237089a21a86a2610929a68dafa72c0f4e20ff9.zip
LibJS: Remove unused Heap::interpreter()
Diffstat (limited to 'Libraries/LibJS/Heap/Heap.cpp')
-rw-r--r--Libraries/LibJS/Heap/Heap.cpp5
1 files changed, 0 insertions, 5 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()) {