gecko-dev/memory
Mike Hommey feda5d4e15 Bug 1420353 - Don't define replace_init through malloc_decls.h. r=njn
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
2017-11-24 16:36:29 +09:00
..
build Bug 1420353 - Don't define replace_init through malloc_decls.h. r=njn 2017-11-24 16:36:29 +09:00
fallible Bug 1290645 - Remove VS2013 workarounds in memory/. r=glandium 2016-07-28 11:46:30 -07:00
gtest Bug 1418123 - Apply junk on huge and large reallocations. r=njn 2017-11-16 16:34:31 +09:00
mozalloc Bug 1325632 - part 5 - ensure that we compile with -fno-sized-deallocation when possible; r=chmanchester 2017-11-15 14:53:16 -04:00
replace Bug 1420353 - Change how replace-malloc initializes, part 2. r=njn 2017-11-24 16:02:05 +09:00
volatile Bug 1392594 Make variable DebugOnly to address unused variable warning r=glandium 2017-08-24 22:55:35 -05:00
app.mozbuild Bug 1417309 - Add the necessary bits to support a --enable-project=memory option. r=nalexander 2017-11-16 08:37:36 +09:00
moz.build Bug 1417309 - Add the necessary bits to support a --enable-project=memory option. r=nalexander 2017-11-16 08:37:36 +09:00
moz.configure Bug 1417309 - Add the necessary bits to support a --enable-project=memory option. r=nalexander 2017-11-16 08:37:36 +09:00