summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-03-23 00:54:35 (GMT)
committerJason Evans <jasone@canonware.com>2016-03-23 00:54:35 (GMT)
commit6c460ad91bf349ebac3b23e58d97769a982110fe (patch)
tree0659c384b00957993e1edf2f71cbbf6f74ecc7bc /src/util.c
parent18903c592fdbf2384b59051bd251d234e84647af (diff)
downloadjemalloc-6c460ad91bf349ebac3b23e58d97769a982110fe.zip
jemalloc-6c460ad91bf349ebac3b23e58d97769a982110fe.tar.gz
jemalloc-6c460ad91bf349ebac3b23e58d97769a982110fe.tar.bz2
Optimize rtree_get().
Specialize fast path to avoid code that cannot execute for dependent loads. Manually unroll.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index 982a2e3..581d540 100644
--- a/src/util.c
+++ b/src/util.c
@@ -14,6 +14,7 @@
malloc_write("<jemalloc>: Unreachable code reached\n"); \
abort(); \
} \
+ unreachable(); \
} while (0)
#define not_implemented() do { \