commit | b28d6de75e0cb27ce3106ce6052f87ad0ab276d7 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Thu Nov 20 08:01:39 2008 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Thu Nov 20 08:01:39 2008 +0000 |
tree | f7345a493ee860b69edae50f1b91f81c40493cee | |
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