commit | 9e0b600dc7373ee7d2857ef5ccebca599ebb5178 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Tue Jan 20 21:06:31 2009 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Tue Jan 20 21:06:31 2009 +0000 |
tree | 9686916fbe58953dd2c00aa2ca598cc506936ac2 | |
parent | b17e3b04fa50ca542ccbbf69847f62e5f043df03 [diff] |
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