Make gc visitors (gcHandler) static methods on the type being visited.
This serves two purposes. 1) Improve naming consistency (follow the format TYPENAME::gcHandler) 2) In the source file, the visit function declaration is closer to the fields of the objects. If a field is added, hopefully it will be easier to remember to update the GC visit function.
Showing
This diff is collapsed.
Please register or sign in to comment