From 255269e677a14d14300720f26e04664945d115d0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 9 Feb 2004 05:16:30 +0000 Subject: [PATCH] Don't depend on auto data conversion llvm-svn: 11229 --- lib/Transforms/IPO/SimpleStructMutation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/IPO/SimpleStructMutation.cpp b/lib/Transforms/IPO/SimpleStructMutation.cpp index f2061ddb8f7..401677a8817 100644 --- 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(*I)) + if (!isa(I->get())) PruneTypes(*I, TypesToModify, ProcessedTypes); } }