зеркало из https://github.com/mozilla/gecko-dev.git
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 |
||
---|---|---|
.. | ||
Makefile.in | ||
Mutex.h | ||
Utils.h | ||
fallback.cpp | ||
malloc_decls.h | ||
moz.build | ||
mozjemalloc.cpp | ||
mozjemalloc.h | ||
mozjemalloc_types.h | ||
mozmemory.h | ||
mozmemory_wrap.cpp | ||
mozmemory_wrap.h | ||
rb.h | ||
replace_malloc.h | ||
replace_malloc_bridge.h | ||
zone.c |