[llvm-commits] [llvm] r59063 - /llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp
Devang Patel
dpatel at apple.com
Tue Nov 11 11:16:42 PST 2008
Author: dpatel
Date: Tue Nov 11 13:16:41 2008
New Revision: 59063
URL: http://llvm.org/viewvc/llvm-project?rev=59063&view=rev
Log:
Use actual function name in comments.
Modified:
llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp
Modified: llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp?rev=59063&r1=59062&r2=59063&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp Tue Nov 11 13:16:41 2008
@@ -41,7 +41,7 @@
private:
std::set<GlobalValue*> AliveGlobals;
- /// MarkGlobalIsNeeded - the specific global value as needed, and
+ /// GlobalIsNeeded - the specific global value as needed, and
/// recursively mark anything that it uses as also needed.
void GlobalIsNeeded(GlobalValue *GV);
void MarkUsedGlobalsAsNeeded(Constant *C);
@@ -131,7 +131,7 @@
return Changed;
}
-/// MarkGlobalIsNeeded - the specific global value as needed, and
+/// GlobalIsNeeded - the specific global value as needed, and
/// recursively mark anything that it uses as also needed.
void GlobalDCE::GlobalIsNeeded(GlobalValue *G) {
std::set<GlobalValue*>::iterator I = AliveGlobals.find(G);
More information about the llvm-commits
mailing list