summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-11-11 19:16:41 +0000
committerDevang Patel <dpatel@apple.com>2008-11-11 19:16:41 +0000
commit95b18126ee55cd6a202740dfbd687f3728fbd02c (patch)
treef949da996d1e85e91feb1ac45fb8b6f779f11b21
parentd53e23328ea02ee11c1715e2c12e35b6c5217fec (diff)
downloadbcm5719-llvm-95b18126ee55cd6a202740dfbd687f3728fbd02c.tar.gz
bcm5719-llvm-95b18126ee55cd6a202740dfbd687f3728fbd02c.zip
Use actual function name in comments.
llvm-svn: 59063
-rw-r--r--llvm/lib/Transforms/IPO/GlobalDCE.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/GlobalDCE.cpp b/llvm/lib/Transforms/IPO/GlobalDCE.cpp
index 020c70ab375..50bf85ba8ea 100644
--- a/llvm/lib/Transforms/IPO/GlobalDCE.cpp
+++ b/llvm/lib/Transforms/IPO/GlobalDCE.cpp
@@ -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);
OpenPOWER on IntegriCloud