mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
#if 1 .. #endif markers do not add any value.
llvm-svn: 48560
This commit is contained in:
parent
5ef962445a
commit
3af681c5fb
@ -426,14 +426,12 @@ void PMTopLevelManager::schedulePass(Pass *P) {
|
||||
// Give pass a chance to prepare the stage.
|
||||
P->preparePassManager(activeStack);
|
||||
|
||||
#if 1
|
||||
// If P is an analysis pass and it is available then do not
|
||||
// generate the analysis again. Stale analysis info should not be
|
||||
// available at this point.
|
||||
if (P->getPassInfo() &&
|
||||
P->getPassInfo()->isAnalysis() && findAnalysisPass(P->getPassInfo()))
|
||||
return;
|
||||
#endif
|
||||
|
||||
AnalysisUsage AnUsage;
|
||||
P->getAnalysisUsage(AnUsage);
|
||||
|
Loading…
Reference in New Issue
Block a user