projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a4627d
)
Remove an unnecessary cast.
author
Dan Gohman
<gohman@apple.com>
Mon, 23 Jun 2008 16:38:10 +0000
(16:38 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 23 Jun 2008 16:38:10 +0000
(16:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52626
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Instructions.h
patch
|
blob
|
history
diff --git
a/include/llvm/Instructions.h
b/include/llvm/Instructions.h
index 36c0a592812557efc377f327387478e50883aef7..403e82aea1ff17f1fbae6c297925a42c051afd85 100644
(file)
--- a/
include/llvm/Instructions.h
+++ b/
include/llvm/Instructions.h
@@
-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);
}