mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
LibJS: Rename collect_roots() => gather_roots()
Since this is about finding the things we should *not* garabge collect, it seemed wrong to call it "collect_something" :^)
This commit is contained in:
@@ -136,7 +136,7 @@ Value Interpreter::get_variable(const String& name)
|
||||
return global_object().get(name);
|
||||
}
|
||||
|
||||
void Interpreter::collect_roots(Badge<Heap>, HashTable<Cell*>& roots)
|
||||
void Interpreter::gather_roots(Badge<Heap>, HashTable<Cell*>& roots)
|
||||
{
|
||||
roots.set(m_global_object);
|
||||
roots.set(m_string_prototype);
|
||||
|
||||
Reference in New Issue
Block a user