Bug 1841620 - Part 2: Make AllocKind functions constexpr where possible r=sfink
commit9f4c6c5f228748964444504809ec52b26786362e
authorJon Coppeard <jcoppeard@mozilla.com>
Thu, 6 Jul 2023 17:47:37 +0000 (6 17:47 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Thu, 6 Jul 2023 17:47:37 +0000 (6 17:47 +0000)
treeae88c575592180d462903e9d0f33a9631ee401e6
parent28627bffaecccbe40a91db2e62e33f3208704b5d
Bug 1841620 - Part 2: Make AllocKind functions constexpr where possible r=sfink

Not related to this bug (and doesn't make any difference to the generated
code), but the next patch requires IsObjectAllocKind to be constexpr.

Differential Revision: https://phabricator.services.mozilla.com/D182764
js/src/gc/AllocKind.h