aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-09 22:05:30 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-09 22:05:30 +0000
commit5f074266cc59563036c40516c814d63825723e20 (patch)
tree0eeb4b41c924a96be7b0b0699d9e6021745cafcb /lib/CodeGen/CGExpr.cpp
parent0262f02cbaa35cafb61b1b994e0adff7c422a235 (diff)
Enhance PTH 'getSpelling' caching:
- Refactor caching logic into a helper class PTHSpellingSearch - Allow "random accesses" in the spelling cache, thus catching the remaining cases where 'getSpelling' wasn't hitting the PTH cache For -Eonly, PTH, Cocoa.h: - This reduces wall time by 3% (user time unchanged, sys time reduced) - This reduces the amount of paged source by 1112K. The remaining 1112K still being paged in is from somewhere else (investigating). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions