From af3184cac0e0c70045d8158b9c176696f2ca1090 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Thu, 24 Mar 2016 01:42:08 -0700 Subject: [PATCH] Use abort() for fallback implementations of unreachable(). --- include/jemalloc/internal/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/jemalloc/internal/util.h b/include/jemalloc/internal/util.h index 6e214702..228584a4 100644 --- a/include/jemalloc/internal/util.h +++ b/include/jemalloc/internal/util.h @@ -73,12 +73,12 @@ JEMALLOC_CLANG_HAS_BUILTIN(__builtin_unreachable) # define unreachable() __builtin_unreachable() # else -# define unreachable() +# define unreachable() abort() # endif #else # define likely(x) !!(x) # define unlikely(x) !!(x) -# define unreachable() +# define unreachable() abort() #endif #include "jemalloc/internal/assert.h"