mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 13:44:28 +00:00
remove unneeded reinterpret_casts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a6246c734
commit
b9d9eba916
@ -1010,7 +1010,7 @@ void GetElementPtrInst::init(Value *Ptr, Value *Idx) {
|
||||
}
|
||||
|
||||
GetElementPtrInst::GetElementPtrInst(const GetElementPtrInst &GEPI)
|
||||
: Instruction(reinterpret_cast<const Type*>(GEPI.getType()), GetElementPtr,
|
||||
: Instruction(GEPI.getType(), GetElementPtr,
|
||||
OperandTraits<GetElementPtrInst>::op_end(this)
|
||||
- GEPI.getNumOperands(),
|
||||
GEPI.getNumOperands()) {
|
||||
@ -1355,7 +1355,7 @@ void InsertValueInst::init(Value *Agg, Value *Val, Value *Idx) {
|
||||
}
|
||||
|
||||
InsertValueInst::InsertValueInst(const InsertValueInst &IVI)
|
||||
: Instruction(reinterpret_cast<const Type*>(IVI.getType()), InsertValue,
|
||||
: Instruction(IVI.getType(), InsertValue,
|
||||
OperandTraits<InsertValueInst>::op_end(this)
|
||||
- IVI.getNumOperands(),
|
||||
IVI.getNumOperands()) {
|
||||
|
Loading…
Reference in New Issue
Block a user