diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-26 00:07:37 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-26 00:07:37 +0000 |
commit | 2eafc1b56347f772729e082e6bac824b0ef1b585 (patch) | |
tree | 92d68a82e05f571a0e55e132948265ceb2361454 /lib/CodeGen/CGDecl.cpp | |
parent | 7c32f8e9be486f8f8ec2e75eba36903f7cb1b73a (diff) |
Don't read all of the records in the PCH file's preprocessor block,
most of which are ignored. Instead, move the __COUNTER__ value out to
a PCH-level record (since it is handled eagerly) and move the header
file information into the SourceManager block (which is also,
currently, loaded eagerly).
This results in another 17% performance improvement in the
Cocoa-prefixed "Hello, World" with PCH.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
0 files changed, 0 insertions, 0 deletions