[RS4GC] Use an value handle to help isolate errors quickly
authorPhilip Reames <listmail@philipreames.com>
Fri, 18 Dec 2015 03:53:28 +0000 (03:53 +0000)
committerPhilip Reames <listmail@philipreames.com>
Fri, 18 Dec 2015 03:53:28 +0000 (03:53 +0000)
commit2027fcbfdaea79a5486db80a4da7407f50f7f4ec
tree6f2f85552259624170ae6659d4f1a44802b6409e
parent1fef99c857a6ecca56f1665d1518ee875a093484
[RS4GC] Use an value handle to help isolate errors quickly

Inspired by the bug reported in 25846.  Whatever we end up doing about that one, the value handle change is a generally good one since it will help catch this type of mistake more quickly.

Patch by: Manuel Jacob

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