Get rid of most of the various inline macros.

This commit is contained in:
David Goldblatt 2017-04-21 09:37:34 -07:00 committed by David Goldblatt
parent 7d86c92c61
commit 4d2e4bf5eb
31 changed files with 233 additions and 669 deletions

View file

@ -359,7 +359,7 @@ arena_extents_dirty_dalloc(tsdn_t *tsdn, arena_t *arena,
}
}
JEMALLOC_INLINE_C void *
static void *
arena_slab_reg_alloc(tsdn_t *tsdn, extent_t *slab,
const arena_bin_info_t *bin_info) {
void *ret;
@ -377,7 +377,7 @@ arena_slab_reg_alloc(tsdn_t *tsdn, extent_t *slab,
}
#ifndef JEMALLOC_JET
JEMALLOC_INLINE_C
static
#endif
size_t
arena_slab_regind(extent_t *slab, szind_t binind, const void *ptr) {
@ -414,7 +414,7 @@ arena_slab_regind(extent_t *slab, szind_t binind, const void *ptr) {
return regind;
}
JEMALLOC_INLINE_C void
static void
arena_slab_reg_dalloc(tsdn_t *tsdn, extent_t *slab,
arena_slab_data_t *slab_data, void *ptr) {
szind_t binind = extent_szind_get(slab);