mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Issue #1307 - Part 2: Remove disabled code blocks
This commit is contained in:
parent
2224bed064
commit
724b852a34
2 changed files with 1 additions and 49 deletions
|
|
@ -181,9 +181,6 @@
|
|||
|
||||
#if defined(MOZ_MEMORY_LINUX) && !defined(MOZ_MEMORY_ANDROID)
|
||||
#define _GNU_SOURCE /* For mremap(2). */
|
||||
#if 0 /* Enable in order to test decommit code on Linux. */
|
||||
# define MALLOC_DECOMMIT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
|
@ -443,46 +440,6 @@ void *_mmap(void *addr, size_t length, int prot, int flags,
|
|||
#ifdef MOZ_MEMORY_DARWIN
|
||||
# define NO_TLS
|
||||
#endif
|
||||
#if 0
|
||||
#ifdef __i386__
|
||||
# define QUANTUM_2POW_MIN 4
|
||||
# define SIZEOF_PTR_2POW 2
|
||||
# define CPU_SPINWAIT __asm__ volatile("pause")
|
||||
#endif
|
||||
#ifdef __ia64__
|
||||
# define QUANTUM_2POW_MIN 4
|
||||
# define SIZEOF_PTR_2POW 3
|
||||
#endif
|
||||
#ifdef __alpha__
|
||||
# define QUANTUM_2POW_MIN 4
|
||||
# define SIZEOF_PTR_2POW 3
|
||||
# define NO_TLS
|
||||
#endif
|
||||
#ifdef __sparc64__
|
||||
# define QUANTUM_2POW_MIN 4
|
||||
# define SIZEOF_PTR_2POW 3
|
||||
# define NO_TLS
|
||||
#endif
|
||||
#ifdef __amd64__
|
||||
# define QUANTUM_2POW_MIN 4
|
||||
# define SIZEOF_PTR_2POW 3
|
||||
# define CPU_SPINWAIT __asm__ volatile("pause")
|
||||
#endif
|
||||
#ifdef __arm__
|
||||
# define QUANTUM_2POW_MIN 3
|
||||
# define SIZEOF_PTR_2POW 2
|
||||
# define NO_TLS
|
||||
#endif
|
||||
#ifdef __mips__
|
||||
# define QUANTUM_2POW_MIN 3
|
||||
# define SIZEOF_PTR_2POW 2
|
||||
# define NO_TLS
|
||||
#endif
|
||||
#ifdef __powerpc__
|
||||
# define QUANTUM_2POW_MIN 4
|
||||
# define SIZEOF_PTR_2POW 2
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define SIZEOF_PTR (1U << SIZEOF_PTR_2POW)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* Copyright (C) 2008 Jason Evans <jasone@FreeBSD.org>.
|
||||
* Copyright (C) 2015-2018 Mark Straver <moonchild@palemoon.org>
|
||||
* Copyright (C) 2015-2019 Mark Straver <moonchild@palemoon.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
|
@ -72,11 +72,6 @@
|
|||
#ifndef RB_H_
|
||||
#define RB_H_
|
||||
|
||||
#if 0
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD: head/lib/libc/stdlib/rb.h 178995 2008-05-14 18:33:13Z jasone $");
|
||||
#endif
|
||||
|
||||
/* Node structure. */
|
||||
#define rb_node(a_type) \
|
||||
struct { \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue