1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +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:
Andreas Kling 2020-03-15 15:12:34 +01:00
parent 8dc6416bba
commit f1f14945cf
4 changed files with 6 additions and 6 deletions

View file

@ -74,7 +74,7 @@ public:
void set_variable(String name, Value);
void declare_variable(String name, DeclarationType);
void collect_roots(Badge<Heap>, HashTable<Cell*>&);
void gather_roots(Badge<Heap>, HashTable<Cell*>&);
void enter_scope(const ScopeNode&, Vector<Argument>, ScopeType);
void exit_scope(const ScopeNode&);