[llvm-commits] [llvm] r48560 - /llvm/trunk/lib/VMCore/PassManager.cpp
Devang Patel
dpatel at apple.com
Wed Mar 19 15:24:25 PDT 2008
Author: dpatel
Date: Wed Mar 19 17:24:25 2008
New Revision: 48560
URL: http://llvm.org/viewvc/llvm-project?rev=48560&view=rev
Log:
#if 1 .. #endif markers do not add any value.
Modified:
llvm/trunk/lib/VMCore/PassManager.cpp
Modified: llvm/trunk/lib/VMCore/PassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/PassManager.cpp?rev=48560&r1=48559&r2=48560&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/PassManager.cpp (original)
+++ llvm/trunk/lib/VMCore/PassManager.cpp Wed Mar 19 17:24:25 2008
@@ -426,14 +426,12 @@
// 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);
More information about the llvm-commits
mailing list