diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-02-09 05:16:30 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-02-09 05:16:30 +0000 |
| commit | e3af6f73ce7f4333e1942edd09fb01c6a6d90220 (patch) | |
| tree | b61997876f55fa67473a6292b3caa30ca5e2dbc3 /llvm/lib/Transforms/IPO/SimpleStructMutation.cpp | |
| parent | ac6db755c3cd1870e6a99bf7ba65049e6f923e53 (diff) | |
| download | bcm5719-llvm-e3af6f73ce7f4333e1942edd09fb01c6a6d90220.tar.gz bcm5719-llvm-e3af6f73ce7f4333e1942edd09fb01c6a6d90220.zip | |
Don't depend on auto data conversion
llvm-svn: 11229
Diffstat (limited to 'llvm/lib/Transforms/IPO/SimpleStructMutation.cpp')
| -rw-r--r-- | llvm/lib/Transforms/IPO/SimpleStructMutation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/SimpleStructMutation.cpp b/llvm/lib/Transforms/IPO/SimpleStructMutation.cpp index f2061ddb8f7..401677a8817 100644 --- a/llvm/lib/Transforms/IPO/SimpleStructMutation.cpp +++ b/llvm/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); } } |

