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:
d21cd80
)
Don't depend on auto data conversion
author
Chris Lattner
<sabre@nondot.org>
Mon, 9 Feb 2004 05:16:30 +0000
(
05:16
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 9 Feb 2004 05:16:30 +0000
(
05:16
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11229
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/SimpleStructMutation.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/SimpleStructMutation.cpp
b/lib/Transforms/IPO/SimpleStructMutation.cpp
index f2061ddb8f72b4bc377c7db836b68138dca83876..401677a881796df88c351c0284a8d70b6bbc38ea 100644
(file)
--- a/
lib/Transforms/IPO/SimpleStructMutation.cpp
+++ b/
lib/Transforms/IPO/SimpleStructMutation.cpp
@@
-90,7
+90,7
@@
static void PruneTypes(const Type *Ty,
//
for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
I != E; ++I) {
- if (!isa<PointerType>(
*I
))
+ if (!isa<PointerType>(
I->get()
))
PruneTypes(*I, TypesToModify, ProcessedTypes);
}
}