diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-11-20 08:01:39 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-11-20 08:01:39 +0000 |
commit | b28d6de75e0cb27ce3106ce6052f87ad0ab276d7 (patch) | |
tree | f7345a493ee860b69edae50f1b91f81c40493cee /lib/CodeGen/CodeGenFunction.h | |
parent | d6f53dc4951aace69014619761760addac9e59ec (diff) |
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%.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59725 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions