[llvm-commits] [PATCH 1/2] Minor change: Fix the typo in RegionPass.h and RegionPass.cpp.
ether zhhb
etherzhhb at gmail.com
Thu May 5 01:03:42 PDT 2011
hi,
This patch fix two typo in RegionPass.h and RegionPass.cpp.
best regards
ether
---
include/llvm/Analysis/RegionPass.h | 2 +-
lib/Analysis/RegionPass.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/llvm/Analysis/RegionPass.h
b/include/llvm/Analysis/RegionPass.h
index aedc06a..6c4e226 100644
--- a/include/llvm/Analysis/RegionPass.h
+++ b/include/llvm/Analysis/RegionPass.h
@@ -109,7 +109,7 @@ public:
/// @brief Print passes managed by this manager.
void dumpPassStructure(unsigned Offset);
- /// @brief Print passes contained by this manager.
+ /// @brief Get passes contained by this manager.
Pass *getContainedPass(unsigned N) {
assert(N < PassVector.size() && "Pass number out of range!");
Pass *FP = static_cast<Pass *>(PassVector[N]);
diff --git a/lib/Analysis/RegionPass.cpp b/lib/Analysis/RegionPass.cpp
index 3269dcc..80eda79 100644
--- a/lib/Analysis/RegionPass.cpp
+++ b/lib/Analysis/RegionPass.cpp
@@ -249,7 +249,7 @@ void RegionPass::assignPassManager(PMStack &PMS,
assert (!PMS.empty() && "Unable to create Region Pass Manager");
PMDataManager *PMD = PMS.top();
- // [1] Create new Call Graph Pass Manager
+ // [1] Create new Region Pass Manager
RGPM = new RGPassManager(PMD->getDepth() + 1);
RGPM->populateInheritedAnalysis(PMS);
--
1.7.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Minor-change-Fix-the-typo-in-RegionPass.h-and-Region.patch
Type: application/octet-stream
Size: 1515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110505/2bc8a341/attachment.obj>
More information about the llvm-commits
mailing list