aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO
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
commit57fdf7d116c043477dc3b8fb423389cb54c9647c (patch)
tree2a15a74b8f1616295f15bb7926d16ffdce6e3b59 /lib/Transforms/IPO
parent3ea46f79f1b84ea4962432e0e9d11c6b6f8b0281 (diff)
downloadexternal_llvm-57fdf7d116c043477dc3b8fb423389cb54c9647c.zip
external_llvm-57fdf7d116c043477dc3b8fb423389cb54c9647c.tar.gz
external_llvm-57fdf7d116c043477dc3b8fb423389cb54c9647c.tar.bz2
Use actual function name in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO')
-rw-r--r--lib/Transforms/IPO/GlobalDCE.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/GlobalDCE.cpp b/lib/Transforms/IPO/GlobalDCE.cpp
index 020c70a..50bf85b 100644
--- a/lib/Transforms/IPO/GlobalDCE.cpp
+++ b/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);