OSDN Git Service

A DenseMap of a std::map isn't a very good idea because the "grow()" method will
authorBill Wendling <isanbard@gmail.com>
Thu, 12 Jan 2012 01:41:03 +0000 (01:41 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 12 Jan 2012 01:41:03 +0000 (01:41 +0000)
commit805e2247fc915246f0409d107233328a6dc2ba78
tree67575aa37320375836f93692aa6b00c5f2e0e33f
parent0a338868b746f29d6d72fd95e425ec8696ed8024
A DenseMap of a std::map isn't a very good idea because the "grow()" method will
need to make a deep copy of each of the std::maps. Use a std::map of the
std::map instead. This improves the compile time of sqlite3 by ~2%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148003 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LazyValueInfo.cpp