#if 1 .. #endif markers do not add any value.
authorDevang Patel <dpatel@apple.com>
Wed, 19 Mar 2008 22:24:25 +0000 (22:24 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 19 Mar 2008 22:24:25 +0000 (22:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48560 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/PassManager.cpp

index 6c8d0624e6849c4d557fa5623bebb6a33eee6e6c..c76a9e873927ce73bf72b851578fceb2a131e6e0 100644 (file)
@@ -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);