Skip to content
Commit 7013d10a authored by Jason Evans's avatar Jason Evans
Browse files

Avoid unnecessary isalloc() calls.

When heap profiling is enabled but deactivated, there is no need to call
isalloc(ptr) in prof_{malloc,realloc}().  Avoid these calls, so that
profiling overhead under such conditions is negligible.
parent ed3d152e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment