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:
parent
dc8817638e
commit
1fb50d823d
3 changed files with 11 additions and 10 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue