Use find instead of operator[] to test whether an element is in a std::map.
authorDan Gohman <gohman@apple.com>
Wed, 1 Jul 2009 23:12:33 +0000 (23:12 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 1 Jul 2009 23:12:33 +0000 (23:12 +0000)
commit82c32c42724f92b899287b4f34029eb1170c43f9
tree060795d42ef1970cbdd6b1e1c2e7d42760918503
parentaa3943bf63618dce1a74eda1a81bcee7ee9c73f5
Use find instead of operator[] to test whether an element is in a std::map.
This fixes a bug that caused -debug-pass=Details to abort.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74654 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/PassManager.cpp