summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPDirectives.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-11-20 08:01:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-11-20 08:01:39 +0000
commit203bfdfcf3368c6e7776d1f551f15655ca5bef9b (patch)
tree50907165f0f1538c2a890e4ed69825865acbcfe5 /clang/lib/Lex/PPDirectives.cpp
parentc490c8877c9e4ddb14f28303e3e5df339e4e6f47 (diff)
downloadbcm5719-llvm-203bfdfcf3368c6e7776d1f551f15655ca5bef9b.tar.gz
bcm5719-llvm-203bfdfcf3368c6e7776d1f551f15655ca5bef9b.zip
De-unionize fields in Token class.
- This is fairly gross but although the code is conceptually the same, introducting the union causes gcc 4.2 on x86 (darwin, if that matters) to pessimize LexTokenInternal which is critical to our preprocessor performance. This speeds up -Eonly lexing of Cocoa.h by ~4.7% in my timings and reduces the code size of LexTokenInternal by 8.6%. llvm-svn: 59725
Diffstat (limited to 'clang/lib/Lex/PPDirectives.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud