summaryrefslogtreecommitdiffstats
path: root/memory/replace/logalloc/replay
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-23 00:26:22 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-23 00:26:22 -0500
commite9360fae1307575a255bb354efb807eb71e9369a (patch)
tree5fcaade08d40364eee06df289a4b9d9f8f712c4e /memory/replace/logalloc/replay
parent2896724eaf851ee4b3d6f14eae05dcc626d88cdd (diff)
downloadUXP-e9360fae1307575a255bb354efb807eb71e9369a.tar
UXP-e9360fae1307575a255bb354efb807eb71e9369a.tar.gz
UXP-e9360fae1307575a255bb354efb807eb71e9369a.tar.lz
UXP-e9360fae1307575a255bb354efb807eb71e9369a.tar.xz
UXP-e9360fae1307575a255bb354efb807eb71e9369a.zip
Issue #1053 - Remove android support from memory
Diffstat (limited to 'memory/replace/logalloc/replay')
-rw-r--r--memory/replace/logalloc/replay/Replay.cpp17
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)