Make arena_salloc() an inline function.

This commit is contained in:
Jason Evans
2012-04-19 18:28:03 -07:00
parent 13067ec835
commit f7088e6c99
5 changed files with 56 additions and 50 deletions

View File

@@ -732,10 +732,9 @@ isalloc(const void *ptr, bool demote)
assert(config_prof || demote == false);
chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(ptr);
if (chunk != ptr) {
/* Region. */
if (chunk != ptr)
ret = arena_salloc(ptr, demote);
} else
else
ret = huge_salloc(ptr);
return (ret);