aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/StackSlotColoring.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-06-23 21:15:00 +0000
committerDan Gohman <gohman@apple.com>2008-06-23 21:15:00 +0000
commit8cb8245cf117fc4a4f0a6549d9a773a12895550c (patch)
tree22399e8c0307c7381b512f0c743968b09f3090cf /lib/CodeGen/StackSlotColoring.cpp
parent4b84086e89d86fb16f562166d9fea8df37db6be7 (diff)
Move a DenseMap's declaration outside of a loop, and just call
clear() on each iteration. This avoids allocating and deallocating all of DenseMap's memory on each iteration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackSlotColoring.cpp')
0 files changed, 0 insertions, 0 deletions