mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-30 16:47:29 +03:00
Use abort() for fallback implementations of unreachable().
This commit is contained in:
parent
232b13d862
commit
af3184cac0
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue