[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)
commitdd0948a1b6ed0264fc0a7793bf690846faf2f97b
tree8b3aaffaf64a25cbae47fed602e5ba2b1ecfdb5c
parentf3348095e848328e9de4c83cb0b350aba0aa42fd
[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

llvm-svn: 255984
llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp