]> granicus.if.org Git - clang/commit
switch the macroinfo argument lists from being allocated off the heap
authorChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2009 22:46:43 +0000 (22:46 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2009 22:46:43 +0000 (22:46 +0000)
commit685befeb5f6472585bae473a6389e47cab9eac67
treecab14a56b509e71a75dcc59581339c5425b066fe
parentcf29e0716bb3ecbbc15b74cd648367d6b075fdf0
switch the macroinfo argument lists from being allocated off the heap
to being allocated from the same bumpptr that the MacroInfo objects
themselves are.

This speeds up -Eonly cocoa.h pth by ~4%, fsyntax-only is barely measurable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65195 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/MacroInfo.h
lib/Lex/PPDirectives.cpp
lib/Lex/Preprocessor.cpp