Avoid calling SizeClassMap::MaxCachedHint on hot path, it's not free.
authorAlex Shlyapnikov <alekseys@google.com>
Wed, 12 Apr 2017 20:51:42 +0000 (20:51 +0000)
committerAlex Shlyapnikov <alekseys@google.com>
Wed, 12 Apr 2017 20:51:42 +0000 (20:51 +0000)
commit05bf27ac3f560cc798b20a352450d3b6bc20e72b
treeef7fd753c548f3c08b749fc4f8ec66746a801dbf
parentc90347d7604f0a036e74c55db8cf117886ae9df6
Avoid calling SizeClassMap::MaxCachedHint on hot path, it's not free.

Summary: Remove unecessary SizeClassMap::MaxCachedHint call.

Reviewers: eugenis

Subscribers: llvm-commits, kubamracek

Differential Revision: https://reviews.llvm.org/D31989

llvm-svn: 300103
compiler-rt/lib/sanitizer_common/sanitizer_allocator_local_cache.h