Minor speedup to avoid array searches given a Use*. This speeds up bc reading
authorChris Lattner <sabre@nondot.org>
Tue, 4 Oct 2005 18:47:09 +0000 (18:47 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 4 Oct 2005 18:47:09 +0000 (18:47 +0000)
commit23ec01fcc32368801033558b7764dac356a51e5a
tree3ed16179f8eb57acfbf7dd08b9d005860de74af1
parentd0ff1adbdb4b7b565b7f8f191aac0731e80aa1ef
Minor speedup to avoid array searches given a Use*.  This speeds up bc reading
of the python test from 1:00 to 54s.

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