mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Reverting r138695 to see if it fixes clang self host.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138701 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -73,8 +73,8 @@ static void createDebugInfoProbe() {
|
||||
|
||||
char LPPassManager::ID = 0;
|
||||
|
||||
LPPassManager::LPPassManager()
|
||||
: FunctionPass(ID), PMDataManager() {
|
||||
LPPassManager::LPPassManager(int Depth)
|
||||
: FunctionPass(ID), PMDataManager(Depth) {
|
||||
skipThisLoop = false;
|
||||
redoThisLoop = false;
|
||||
LI = NULL;
|
||||
@ -357,8 +357,8 @@ void LoopPass::assignPassManager(PMStack &PMS,
|
||||
assert (!PMS.empty() && "Unable to create Loop Pass Manager");
|
||||
PMDataManager *PMD = PMS.top();
|
||||
|
||||
// [1] Create new Loop Pass Manager
|
||||
LPPM = new LPPassManager();
|
||||
// [1] Create new Call Graph Pass Manager
|
||||
LPPM = new LPPassManager(PMD->getDepth() + 1);
|
||||
LPPM->populateInheritedAnalysis(PMS);
|
||||
|
||||
// [2] Set up new manager's top level manager
|
||||
|
Reference in New Issue
Block a user