[llvm-commits] CVS: llvm/include/llvm/PassAnalysisSupport.h

Chris Lattner sabre at nondot.org
Wed Dec 13 13:55:45 PST 2006



Changes in directory llvm/include/llvm:

PassAnalysisSupport.h updated: 1.25 -> 1.26
---
Log message:

fit in 80 cols


---
Diffs of the changes:  (+3 -4)

 PassAnalysisSupport.h |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


Index: llvm/include/llvm/PassAnalysisSupport.h
diff -u llvm/include/llvm/PassAnalysisSupport.h:1.25 llvm/include/llvm/PassAnalysisSupport.h:1.26
--- llvm/include/llvm/PassAnalysisSupport.h:1.25	Tue Dec 12 20:36:01 2006
+++ llvm/include/llvm/PassAnalysisSupport.h	Wed Dec 13 15:55:30 2006
@@ -213,10 +213,9 @@
 #ifdef USE_OLD_PASSMANAGER
   assert(Resolver && "Pass has not been inserted into a PassManager object!");
 #else
-  assert(Resolver_New && "Pass has not been inserted into a PassManager object!");
+  assert(Resolver_New&&"Pass has not been inserted into a PassManager object!");
 #endif
-  const PassInfo *PI = getClassPassInfo<AnalysisType>();
-  return getAnalysisID<AnalysisType>(PI);
+  return getAnalysisID<AnalysisType>(getClassPassInfo<AnalysisType>());
 }
 
 template<typename AnalysisType>
@@ -239,7 +238,7 @@
     }
   }
 #else
-  assert(Resolver_New && "Pass has not been inserted into a PassManager object!");
+  assert(Resolver_New&&"Pass has not been inserted into a PassManager object!");
   // PI *must* appear in AnalysisImpls.  Because the number of passes used
   // should be a small number, we just do a linear search over a (dense)
   // vector.






More information about the llvm-commits mailing list