]> granicus.if.org Git - clang/commit
Convert more exprs to use ASTContext's Allocator.
authorSteve Naroff <snaroff@apple.com>
Tue, 20 Jan 2009 21:06:31 +0000 (21:06 +0000)
committerSteve Naroff <snaroff@apple.com>
Tue, 20 Jan 2009 21:06:31 +0000 (21:06 +0000)
commit9e0b600dc7373ee7d2857ef5ccebca599ebb5178
tree9686916fbe58953dd2c00aa2ca598cc506936ac2
parentb17e3b04fa50ca542ccbbf69847f62e5f043df03
Convert more exprs to use ASTContext's Allocator.

When using a BumpPtrAllocator, this reduces malloc overhead from 2.2->1.9% (for Cocoa.h).

At this point, malloc() has dropped the fourth most expensive routine (behind Preprocessor::HandleIdentifier()).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62612 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp