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 | d3cf5fba332fc77f7e72ef58077822606718671d (patch) | |
tree | 87fd322e2cd4ff3a4961839b00b8d29dd9169132 /unittests/Format/FormatTest.cpp | |
parent | d75ff6496bfb599a9edde41681873919d4d44152 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions