Use actual function name in comments.
authorDevang Patel <dpatel@apple.com>
Tue, 11 Nov 2008 19:16:41 +0000 (19:16 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 11 Nov 2008 19:16:41 +0000 (19:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59063 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/GlobalDCE.cpp

index 020c70ab375b2dfed5f74fb35277059951b6a869..50bf85ba8ea14f663c233b1bfc919857cba91a8f 100644 (file)
@@ -41,7 +41,7 @@ namespace {
   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 @@ bool GlobalDCE::runOnModule(Module &M) {
   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);