mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 19:20:28 +00:00
Remove an unnecessary cast.
llvm-svn: 52626
This commit is contained in:
parent
84cef04f76
commit
696e841b14
@ -1501,7 +1501,7 @@ class ExtractValueInst : public UnaryInstruction {
|
||||
|
||||
if (NumIdx > 0)
|
||||
// This requires that the iterator points to contiguous memory.
|
||||
return getIndexedType(Ptr, (const unsigned *)&*IdxBegin, NumIdx);
|
||||
return getIndexedType(Ptr, &*IdxBegin, NumIdx);
|
||||
else
|
||||
return getIndexedType(Ptr, (const unsigned *)0, NumIdx);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user