[RS4GC] Remove unnecessary const_cast; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 29 Jan 2016 16:54:49 +0000 (16:54 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 29 Jan 2016 16:54:49 +0000 (16:54 +0000)
commit565f7866ac9e0d597118cf6b7238c5305315af50
tree68570e8ffbf6a97c267654d2f2b06844d803e14e
parent3794eeb8bbb04e387d127aa348a81a49e5178d30
[RS4GC] Remove unnecessary const_cast; NFC

GCRelocateInst::getDerivedPtr already returns a non-const llvm::Value
pointer.

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