commit | e05cf716169a7072a301a570e864a37075bd76b7 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Jan 22 23:10:26 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Jan 22 23:10:26 2006 +0000 |
tree | 5fe26ceb58be00fc5914768e0e57efcb6ea7ffd0 | |
parent | e01a9852a012db69ac641cc65f48d61a1eb10453 [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