Use find with std::map, when that's what's needed, instead of lower_bound
authorDan Gohman <gohman@apple.com>
Wed, 9 Jul 2008 19:51:00 +0000 (19:51 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 9 Jul 2008 19:51:00 +0000 (19:51 +0000)
commit0383bc014c82ce3979416e5fe28caaca59142a05
tree64f8b17fc9a0de8200b67654d55c173e3299a059
parentf56c2f7a4b03ccb469ac902bed40981cc4ff3b66
Use find with std::map, when that's what's needed, instead of lower_bound
with extra checks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53344 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocLocal.cpp
lib/CodeGen/RegAllocSimple.cpp