some comment improvements.
[oota-llvm.git] / include / llvm / Analysis / LoopPass.h
index 1e59b969e43ffeeec0c97d752b2a24a83035a8c8..1603d2ea7a4f4c67e0361ff25538f81b932663c8 100644 (file)
@@ -104,10 +104,10 @@ public:
   /// Print passes managed by this manager
   void dumpPassStructure(unsigned Offset);
 
-  Pass *getContainedPass(unsigned N) {
+  LoopPass *getContainedPass(unsigned N) {
     assert(N < PassVector.size() && "Pass number out of range!");
-    Pass *FP = static_cast<Pass *>(PassVector[N]);
-    return FP;
+    LoopPass *LP = static_cast<LoopPass *>(PassVector[N]);
+    return LP;
   }
 
   virtual PassManagerType getPassManagerType() const {