[RS4GC] Clean up `find_index`; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 20 Oct 2015 01:06:28 +0000 (01:06 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 20 Oct 2015 01:06:28 +0000 (01:06 +0000)
commit3d31aca99923e138766dad27469fd6d3a6ebf92a
treec978ab4a6b0ae5de7213d6fb3bf704ecfbd53482
parent66e29d1ed12ba50ff8a14ad556a05a1f30d253b4
[RS4GC] Clean up `find_index`; NFC

 - Bring it up to the LLVM Coding Style
 - Sink it inside `CreateGCRelocates`, which is its only user

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250785 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp