diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-23 00:26:22 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:53:27 +0200 |
commit | ec2daa8dc96bfc275b1d13a7ac880940f506f71e (patch) | |
tree | 401d750381d6cb45082d885a72f75c50e0c74ba5 /memory/replace/logalloc/replay | |
parent | 44c169c9be3cec6957d5b04272a3564cf9137109 (diff) | |
download | UXP-ec2daa8dc96bfc275b1d13a7ac880940f506f71e.tar UXP-ec2daa8dc96bfc275b1d13a7ac880940f506f71e.tar.gz UXP-ec2daa8dc96bfc275b1d13a7ac880940f506f71e.tar.lz UXP-ec2daa8dc96bfc275b1d13a7ac880940f506f71e.tar.xz UXP-ec2daa8dc96bfc275b1d13a7ac880940f506f71e.zip |
Issue #1053 - Remove android support from memory
Diffstat (limited to 'memory/replace/logalloc/replay')
-rw-r--r-- | memory/replace/logalloc/replay/Replay.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/memory/replace/logalloc/replay/Replay.cpp b/memory/replace/logalloc/replay/Replay.cpp index 0ae20de2c..de352189c 100644 --- a/memory/replace/logalloc/replay/Replay.cpp +++ b/memory/replace/logalloc/replay/Replay.cpp @@ -290,23 +290,6 @@ MOZ_BEGIN_EXTERN_C void malloc_init_hard(void); #endif -#ifdef ANDROID -/* mozjemalloc uses MozTagAnonymousMemory, which doesn't have an inline - * implementation on Android */ -void -MozTagAnonymousMemory(const void* aPtr, size_t aLength, const char* aTag) {} - -/* mozjemalloc and jemalloc use pthread_atfork, which Android doesn't have. - * While gecko has one in libmozglue, the replay program can't use that. - * Since we're not going to fork anyways, make it a dummy function. */ -int -pthread_atfork(void (*aPrepare)(void), void (*aParent)(void), - void (*aChild)(void)) -{ - return 0; -} -#endif - MOZ_END_EXTERN_C size_t parseNumber(Buffer aBuf) |