mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
fc930ad16f
JSONWriter currently calls new and delete indirectly through mozilla::MakeUnique to allocate a buffer. Becuase of this, the methods of this class cannot be invoked within Spidermonkey due to https://searchfox.org/mozilla-central/source/config/check_vanilla_allocations.py#6-14. Therefore, JSONWriter needs an AllocPolicy template parameter so that the allocation and deallocation routines can be changed to match the JS AllocPolicy when invoked within SpiderMonkey. Differential Revision: https://phabricator.services.mozilla.com/D7279 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
core | ||
gecko | ||
lul | ||
public | ||
rust-helper | ||
tasktracer | ||
tests | ||
moz.build |