diff options
| author | Ted Kremenek <kremenek@apple.com> | 2009-01-27 00:01:05 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2009-01-27 00:01:05 +0000 |
| commit | 8d178f435720f7180a7594ddd10109d61ee392e5 (patch) | |
| tree | f4492baf085c9049af5720825b2dcc10958a8286 /llvm/lib/Target/SubtargetFeature.cpp | |
| parent | d0e8e85afc43f36280b0b7e860dec808c413b724 (diff) | |
| download | bcm5719-llvm-8d178f435720f7180a7594ddd10109d61ee392e5.tar.gz bcm5719-llvm-8d178f435720f7180a7594ddd10109d61ee392e5.zip | |
PTH: Use Token::setLiteralData() to directly store a pointer to cached spelling data in the PTH file. This removes a ton of code for looking up spellings using sourcelocations in the PTH file. This simplifies both PTH-generation and reading.
Performance impact for -fsyntax-only on Cocoa.h (with Cocoa.h in the PTH file):
- PTH generation time improves by 5%
- PTH reading improves by 0.3%.
llvm-svn: 63072
Diffstat (limited to 'llvm/lib/Target/SubtargetFeature.cpp')
0 files changed, 0 insertions, 0 deletions

