Style fixes.
This commit is contained in:
parent
5234be2133
commit
c3b85f2585
@ -56,17 +56,17 @@
|
|||||||
* uninitialized.
|
* uninitialized.
|
||||||
*/
|
*/
|
||||||
#ifdef JEMALLOC_CC_SILENCE
|
#ifdef JEMALLOC_CC_SILENCE
|
||||||
# define JEMALLOC_CC_SILENCE_INIT(v) = v
|
# define JEMALLOC_CC_SILENCE_INIT(v) = v
|
||||||
#else
|
#else
|
||||||
# define JEMALLOC_CC_SILENCE_INIT(v)
|
# define JEMALLOC_CC_SILENCE_INIT(v)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# define likely(x) __builtin_expect(!!(x), 1)
|
# define likely(x) __builtin_expect(!!(x), 1)
|
||||||
# define unlikely(x) __builtin_expect(!!(x), 0)
|
# define unlikely(x) __builtin_expect(!!(x), 0)
|
||||||
#else
|
#else
|
||||||
# define likely(x) !!(x)
|
# define likely(x) !!(x)
|
||||||
# define unlikely(x) !!(x)
|
# define unlikely(x) !!(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(JEMALLOC_INTERNAL_UNREACHABLE)
|
#if !defined(JEMALLOC_INTERNAL_UNREACHABLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user