OSDN Git Service

[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)
commita46730f103822178fd0ff96b7b8a40df4beec2c8
tree354b0a620dd48e4fd49b0071273574aa1afb1ec9
parenta36c5336f9440064a16bb84ab52a9186369ef6b6
[RS4GC] Remove unnecessary const_cast; NFC

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

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