mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1365191 - Remove dead code hidden behind the never set NEEDS_PTHREAD_MMAP_UNALIGNED_TSD. r=njn
--HG-- extra : rebase_source : 79efaa1e0922c356469655f88f86b255ccc72141
This commit is contained in:
parent
03a5ae85e0
commit
c530406a95
@ -5076,12 +5076,6 @@ MALLOC_OUT:
|
||||
pthread_atfork(_malloc_prefork, _malloc_postfork_parent, _malloc_postfork_child);
|
||||
#endif
|
||||
|
||||
#if defined(NEEDS_PTHREAD_MMAP_UNALIGNED_TSD)
|
||||
if (pthread_key_create(&mmap_unaligned_tsd, NULL) != 0) {
|
||||
malloc_printf("<jemalloc>: Error in pthread_key_create()\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(MOZ_MEMORY_DARWIN)
|
||||
register_zone();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user