Use llvm::cast instead of reinterpret_cast.
authorJakub Staszak <kubastaszak@gmail.com>
Mon, 18 Feb 2013 18:49:44 +0000 (18:49 +0000)
committerJakub Staszak <kubastaszak@gmail.com>
Mon, 18 Feb 2013 18:49:44 +0000 (18:49 +0000)
commit39c0ad7515d0d44d1445375ecea533aa3121cf6e
tree377b98b17b2509f5ac0d7a10a5870e9186a965c6
parent774c2479adebe3d498da985640f542ad1b508ee0
Use llvm::cast instead of reinterpret_cast.
Also, GetElementPtrInst::getType() method returns SequentialType now, instead of
PointerType. There wasn't any issue yet, so no testcase attached.

llvm-svn: 175452
llvm/include/llvm/IR/Instructions.h