Bug 1834537 - Part 5: Rename allocator methods for consistency and simplicity r=sfink
commitf8d16dddf0d1ba472c38f448dbb99ed51c0d36db
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 26 May 2023 09:28:19 +0000 (26 09:28 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Fri, 26 May 2023 09:28:19 +0000 (26 09:28 +0000)
tree0405089587417f91a822b6c4504198ab7bbca084
parentba9b5b04a339c43e5e0d1ae2b36a46eb756b5284
Bug 1834537 - Part 5: Rename allocator methods for consistency and simplicity r=sfink

This renames the methods called by NewCell into NewBlah, since like |new| they
do both allocation and construction.

The cell allocation methods are renamed to be slightly shorter because the
names are getting unwieldy.

Differential Revision: https://phabricator.services.mozilla.com/D178812
js/src/gc/Allocator.cpp
js/src/gc/Allocator.h