mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 17:22:04 +00:00
a8d4234310
The diagnostic assert (so fortunately, it doesn't impact release builds) as added in bug 1405159, but is costly because it uses the modulus of the division with a variable integer, which is a slow operation. However, in arena_run_reg_dalloc, we end up doing the same diagnostic assert, in a different form: after performing the division in a faster manner, we assert that the result, multiplied by the diviser, returns the original number. Differential Revision: https://phabricator.services.mozilla.com/D13501 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
fallback.cpp | ||
Makefile.in | ||
malloc_decls.h | ||
moz.build | ||
mozjemalloc_types.h | ||
mozjemalloc.cpp | ||
mozjemalloc.h | ||
mozmemory_wrap.cpp | ||
mozmemory_wrap.h | ||
mozmemory.h | ||
Mutex.h | ||
rb.h | ||
replace_malloc_bridge.h | ||
replace_malloc.h | ||
Utils.h | ||
zone.c |