]> granicus.if.org Git - clang/commit
Switch attributes to be allocated from the declcontext bump pointer just like
authorChris Lattner <sabre@nondot.org>
Wed, 4 Mar 2009 06:34:08 +0000 (06:34 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Mar 2009 06:34:08 +0000 (06:34 +0000)
commit0b2b6e1cb1573bb295c0a65813dc4df8d57f305b
tree589229ea4c46c0f00d28e87cec88880fd2c107be
parent63d1d60e853e6af6b48b1a8cdb93835a7e86f32e
Switch attributes to be allocated from the declcontext bump pointer just like
decls.  This reduces the number of calls to malloc on cocoa.h with pth and
-disable-free from 15958 to 12444 times (down ~3500).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66023 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Attr.h
lib/AST/Decl.cpp
lib/Sema/IdentifierResolver.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp