summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.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
commit866bdf74547efe32c320554837ffce00fcc084fe (patch)
tree6808fb06c128558647af51f0268131b3d98aece5 /lib/CodeGen/CodeGenModule.cpp
parente5680f3cd678014cf0872d34726dc804b0cbbdd4 (diff)
downloadclang-866bdf74547efe32c320554837ffce00fcc084fe.tar.gz
clang-866bdf74547efe32c320554837ffce00fcc084fe.tar.bz2
clang-866bdf74547efe32c320554837ffce00fcc084fe.tar.xz
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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions