зеркало из https://github.com/mozilla/gecko-dev.git
feda5d4e15
The definition for replace_init is only used in two places: replace_malloc.h and mozjemalloc.cpp. Invoking the malloc_decls.h machinery for just that one function is a lot of overhead, and things are actually simpler doing the declaration directly, especially thanks to the use of C++11 decltype to avoid duplication of the function type. This has the additional advantage that now malloc_decls.h only contains the allocator API. While here, replace the MOZ_WIDGET_ANDROID ifdef with ANDROID. --HG-- extra : rebase_source : 50ddf044f43904575598f17bd4c3477fc1a1155f |
||
---|---|---|
.. | ||
build | ||
fallible | ||
gtest | ||
mozalloc | ||
replace | ||
volatile | ||
app.mozbuild | ||
moz.build | ||
moz.configure |