diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2012-02-29 02:39:13 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2012-02-29 02:39:13 +0000 |
| commit | c52d9057241b7857c8400ab6cfee0a1c554e0982 (patch) | |
| tree | 13d347780ab6e6d6392a7731babca43b8c813c67 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 13e6cb02ea43f2dc0e2263e12edc5152b4305db6 (diff) | |
| download | clang-c52d9057241b7857c8400ab6cfee0a1c554e0982.tar.gz clang-c52d9057241b7857c8400ab6cfee0a1c554e0982.tar.bz2 clang-c52d9057241b7857c8400ab6cfee0a1c554e0982.tar.xz | |
ASTWriter: Cache some DenseMaps we use repeatedly.
- This reduces our total # of allocations building a PCH for Cocoa.h by almost
a whopping 50%.
- A SmallPtrMap would be cleaner, but since we don't have one yet...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
