diff options
author | Douglas Gregor <dgregor@apple.com> | 2013-01-28 16:46:33 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2013-01-28 16:46:33 +0000 |
commit | e97cd90a67ecdd7599eff82ed16231d3e83d2457 (patch) | |
tree | 2606e61a9cbf2162d6435eb94acf99fc66d4467b /clang/lib/Format | |
parent | 1258519674ad4c2f6c31d3754e13931881600c93 (diff) | |
download | bcm5719-llvm-e97cd90a67ecdd7599eff82ed16231d3e83d2457.tar.gz bcm5719-llvm-e97cd90a67ecdd7599eff82ed16231d3e83d2457.zip |
Eliminate memory allocation from most invocations of
ModuleManager::visit() by keeping a free list of the two data
structures used to store state (a preallocated stack and a visitation
number vector). Improves -fsyntax-only performance for my modules test
case by 2.8%. Modules has pulled ahead by almost 10% with the global
module index.
llvm-svn: 173692
Diffstat (limited to 'clang/lib/Format')
0 files changed, 0 insertions, 0 deletions