aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-12-23 02:30:15 +0000
committerTed Kremenek <kremenek@apple.com>2008-12-23 02:30:15 +0000
commit66076a964b811334c436964df1fb82501d4a9f32 (patch)
treed45b5d11a9e8c467df0b5f1f079fbfc8007b7724 /llvm/lib/Support/CommandLine.cpp
parent93b9aa8799f5c8af434b31b0228c7104fecd7d5b (diff)
downloadllvm-66076a964b811334c436964df1fb82501d4a9f32.zip
llvm-66076a964b811334c436964df1fb82501d4a9f32.tar.gz
llvm-66076a964b811334c436964df1fb82501d4a9f32.tar.bz2
PTH:
- In PTHLexer::Lex read all of the token data from PTH file before constructing the token. The idea is to enhance locality. - Do not use Read8/Read32 in PTHLexer::Lex. Inline these operations manually. - Change PTHManager::ReadIdentifierInfo() to PTHManager::GetIdentifierInfo(). They are functionally the same except that PTHLexer::Lex() reads the persistent id. These changes result in a 3.3% speedup for PTH on Cocoa.h (-Eonly). llvm-svn: 61363
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions