Bug 1832850 - Part 5: Move the allocateObject definition into gc/Nursery.h r=jandem
commit39236d116919e6d5f19658379b13033fef39b8bc
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 19 May 2023 11:45:31 +0000 (19 11:45 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Fri, 19 May 2023 11:45:31 +0000 (19 11:45 +0000)
tree089a97cd5ca02c74849f2736a98b10370db91a7d
parente3c65b46b6ad1657a41d95124a054f116072f00f
Bug 1832850 - Part 5: Move the allocateObject definition into gc/Nursery.h r=jandem

In line with allocateString and allocateBigInt, this definition can easily be
moved to the header.

Differential Revision: https://phabricator.services.mozilla.com/D177931
js/src/gc/Nursery.cpp
js/src/gc/Nursery.h