Remove casts between Value** and Constant**, which won't work if a
authorJay Foad <jay.foad@gmail.com>
Fri, 14 Jan 2011 08:07:43 +0000 (08:07 +0000)
committerJay Foad <jay.foad@gmail.com>
Fri, 14 Jan 2011 08:07:43 +0000 (08:07 +0000)
commit25052d8d64f18a85d6a84e0e010f6ba3eba0760d
tree3303905c62ad6228c42e26c484d442f3ec187dd6
parente0a1a5ba91df6817f9ffae7af65ed0bda66f7620
Remove casts between Value** and Constant**, which won't work if a
static_cast from Constant* to Value* has to adjust the "this" pointer.
This is groundwork for PR889.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123435 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Constants.h
include/llvm/Instructions.h
lib/VMCore/ConstantFold.cpp
lib/VMCore/ConstantFold.h
lib/VMCore/Constants.cpp
lib/VMCore/Instructions.cpp