aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/DataStructure.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-22 23:10:26 +0000
committerChris Lattner <sabre@nondot.org>2006-01-22 23:10:26 +0000
commite05cf716169a7072a301a570e864a37075bd76b7 (patch)
tree5fe26ceb58be00fc5914768e0e57efcb6ea7ffd0 /lib/Analysis/DataStructure/DataStructure.cpp
parente01a9852a012db69ac641cc65f48d61a1eb10453 (diff)
Make this more efficient in the following ways:
1. Do not statically construct a map when the program starts up, this is expensive and cannot be optimized. Instead, create a list. 2. Do not insert entries for all function in the module into a hashmap that lives the full life of the compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/DataStructure.cpp')
0 files changed, 0 insertions, 0 deletions