[cfe-commits] r62447 - /cfe/trunk/lib/Lex/PTHLexer.cpp

Daniel Dunbar daniel at zuster.org
Sun Jan 18 21:07:00 PST 2009


On Sun, Jan 18, 2009 at 11:39 AM, Chris Lattner <clattner at apple.com> wrote:
> Oh I agree.  I'm sorry, I should have mentioned that this is a short-
> term hack.  I really think the right answer is to bite the size cost
> and bump tokens up to being 12 bytes instead of 11.  This would allow
> us to read a token by doing 3 4-byte loads, and wouldn't require
> target-specific hacks.

Does this have to be tied to the size of Token; the data & size in the
PTH file shouldn't need to be tied to the Token structure?

 - Daniel



More information about the cfe-commits mailing list