1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibJS: Always inline Cell::vm() and Cell::heap()

This commit is contained in:
Andreas Kling 2021-03-21 17:20:07 +01:00
parent dc8817638e
commit 1fb50d823d
3 changed files with 11 additions and 10 deletions

View file

@ -43,14 +43,4 @@ void Cell::Visitor::visit(Value value)
visit_impl(value.as_cell());
}
Heap& Cell::heap() const
{
return HeapBlock::from_cell(this)->heap();
}
VM& Cell::vm() const
{
return heap().vm();
}
}