mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 16:47:42 +00:00
LibJS: Remove unused Heap::interpreter()
This commit is contained in:
parent
bfa97b9357
commit
4237089a21
2 changed files with 0 additions and 6 deletions
|
@ -57,11 +57,6 @@ Heap::~Heap()
|
||||||
collect_garbage(CollectionType::CollectEverything);
|
collect_garbage(CollectionType::CollectEverything);
|
||||||
}
|
}
|
||||||
|
|
||||||
Interpreter& Heap::interpreter()
|
|
||||||
{
|
|
||||||
return vm().interpreter();
|
|
||||||
}
|
|
||||||
|
|
||||||
Cell* Heap::allocate_cell(size_t size)
|
Cell* Heap::allocate_cell(size_t size)
|
||||||
{
|
{
|
||||||
if (should_collect_on_every_allocation()) {
|
if (should_collect_on_every_allocation()) {
|
||||||
|
|
|
@ -71,7 +71,6 @@ public:
|
||||||
|
|
||||||
void collect_garbage(CollectionType = CollectionType::CollectGarbage, bool print_report = false);
|
void collect_garbage(CollectionType = CollectionType::CollectGarbage, bool print_report = false);
|
||||||
|
|
||||||
Interpreter& interpreter();
|
|
||||||
VM& vm() { return m_vm; }
|
VM& vm() { return m_vm; }
|
||||||
|
|
||||||
bool should_collect_on_every_allocation() const { return m_should_collect_on_every_allocation; }
|
bool should_collect_on_every_allocation() const { return m_should_collect_on_every_allocation; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue