mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Minor change: Fix the typo in RegionPass.h and RegionPass.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130920 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
087aad44cb
commit
f262e16161
@ -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]);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user