gecko-dev/memory/build
Mike Hommey a8d4234310 Bug 1511251 - Remove redundant and costly assert. r=njn
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
2018-12-05 14:45:52 +00:00
..
fallback.cpp
Makefile.in
malloc_decls.h
moz.build
mozjemalloc_types.h
mozjemalloc.cpp Bug 1511251 - Remove redundant and costly assert. r=njn 2018-12-05 14:45:52 +00:00
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