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 | eda6a89c4ed87fc357c4397a28d18524265b1b83 (patch) | |
tree | 6b9cc7110b6420ce14621ffd8810a823a26d122f /clang/lib/CodeGen | |
parent | ab2784f2c16e53e725f0bb54c78c90a12ae79adb (diff) | |
download | bcm5719-llvm-eda6a89c4ed87fc357c4397a28d18524265b1b83.tar.gz bcm5719-llvm-eda6a89c4ed87fc357c4397a28d18524265b1b83.zip |
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.
llvm-svn: 70097
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions