]> granicus.if.org Git - clang/commit
remove my hacks that aggressively threw away multiple
authorChris Lattner <sabre@nondot.org>
Mon, 26 Jan 2009 20:24:53 +0000 (20:24 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 26 Jan 2009 20:24:53 +0000 (20:24 +0000)
commite7689886d6a68507ae90ca330bd24bf89d4d6df1
tree6a42960ea029751f41f5c18c7a1f3299863448bc
parent071831dcc7fb502d8957535366baa6ac7f72e70d
remove my hacks that aggressively threw away multiple
instantiation history in an effort to speed up c99-intconst-1.c.
Now that multiple nested instantiations are allowed, we just
make them and don't pay the cost of lookups.  With the other
changes that went in before this, reverting this is actually
a speedup for c99-intconst-1.c, speeding it up from 1.96s to 1.80s,
and preserves much better loc info.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63036 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/MacroArgs.cpp
lib/Lex/PPDirectives.cpp
lib/Lex/PPMacroExpansion.cpp
lib/Lex/TokenLexer.cpp