[llvm-commits] CVS: llvm/lib/Transforms/IPO/GlobalDCE.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sun Apr 29 11:03:19 PDT 2007
Changes in directory llvm/lib/Transforms/IPO:
GlobalDCE.cpp updated: 1.44 -> 1.45
---
Log message:
Implement review feedback
---
Diffs of the changes: (+1 -1)
GlobalDCE.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/IPO/GlobalDCE.cpp
diff -u llvm/lib/Transforms/IPO/GlobalDCE.cpp:1.44 llvm/lib/Transforms/IPO/GlobalDCE.cpp:1.45
--- llvm/lib/Transforms/IPO/GlobalDCE.cpp:1.44 Sat Apr 28 08:44:59 2007
+++ llvm/lib/Transforms/IPO/GlobalDCE.cpp Sun Apr 29 13:02:48 2007
@@ -76,7 +76,7 @@
for (Module::alias_iterator I = M.alias_begin(), E = M.alias_end();
I != E; ++I) {
// Aliases are always needed even if they are not used.
- MarkUsedGlobalsAsNeeded(cast<Constant>(I->getAliasee()));
+ MarkUsedGlobalsAsNeeded(I->getAliasee());
}
// Now that all globals which are needed are in the AliveGlobals set, we loop
More information about the llvm-commits
mailing list