Use abort() for fallback implementations of unreachable().
This commit is contained in:
parent
232b13d862
commit
af3184cac0
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user