[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimpleStructMutation.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 8 23:17:00 PST 2004
Changes in directory llvm/lib/Transforms/IPO:
SimpleStructMutation.cpp updated: 1.25 -> 1.26
---
Log message:
Don't depend on auto data conversion
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/IPO/SimpleStructMutation.cpp
diff -u llvm/lib/Transforms/IPO/SimpleStructMutation.cpp:1.25 llvm/lib/Transforms/IPO/SimpleStructMutation.cpp:1.26
--- llvm/lib/Transforms/IPO/SimpleStructMutation.cpp:1.25 Sun Feb 8 22:37:31 2004
+++ llvm/lib/Transforms/IPO/SimpleStructMutation.cpp Sun Feb 8 23:16:30 2004
@@ -90,7 +90,7 @@
//
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);
}
}
More information about the llvm-commits
mailing list