]> granicus.if.org Git - clang/commit
allocate and dellocate objc decl list through AST Context instead of
authorChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2009 21:44:01 +0000 (21:44 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2009 21:44:01 +0000 (21:44 +0000)
commit4ee413ba81c8030c195a9166847928054ed01ca4
tree4d5099b15a2f2d28101d7d10982f14f3d57fc7e7
parentf25df99486d22d03dfde6cfe3a55341c9bfc4493
allocate and dellocate objc decl list through AST Context instead of
with new/delete.  With disable-free, this reduces the number of 4/8 byte
mallocs from 4793/1541 to 865/456 and also drops other sizes as well.

This is a very small perf win, nothing major.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65171 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclObjC.cpp