mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00:00
Use abort() for fallback implementations of unreachable().
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user