diff options
author | Jason Evans <jasone@canonware.com> | 2016-03-24 08:42:08 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-03-24 08:42:08 (GMT) |
commit | af3184cac0e0c70045d8158b9c176696f2ca1090 (patch) | |
tree | 302cd632fa8e521fc89ea32a8e765163fa9f4ff6 | |
parent | 232b13d86298b9eafc36b0610d7965a95bda0679 (diff) | |
download | jemalloc-af3184cac0e0c70045d8158b9c176696f2ca1090.zip jemalloc-af3184cac0e0c70045d8158b9c176696f2ca1090.tar.gz jemalloc-af3184cac0e0c70045d8158b9c176696f2ca1090.tar.bz2 |
Use abort() for fallback implementations of unreachable().
-rw-r--r-- | include/jemalloc/internal/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/jemalloc/internal/util.h b/include/jemalloc/internal/util.h index 6e21470..228584a 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" |