mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 21:41:43 +00:00
Remove an unnecessary cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a4627d71f
commit
19a81633b0
@ -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…
x
Reference in New Issue
Block a user