aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-04 05:35:38 +0000
committerChris Lattner <sabre@nondot.org>2009-03-04 05:35:38 +0000
commit5f7d2284c4b2f08d155732454002e68dc40c33ef (patch)
treebb26aaab964cf5d3fff83c8d353a4f3fef28346c /lib/Sema/SemaDecl.cpp
parentb25df3577cf0560592599609fba7b8ff7557ce84 (diff)
allocate MultiKeywordSelector's out of a bump pointer allocator instead of malloc.
This has two advantages 1) no more leaking them, 2) fewer calls to malloc. This changes us from calling malloc 3685/1390/883/2974/1185 times respectively on 16/20/24/28/32 byte objects when parsing cocoa.h with pth and -disable-free to calling it 2816/1020/702/2903/1168 times each respectively. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions