Add LoopQueue. This is used by loop pass manager to manage loop nest.
[oota-llvm.git] / include / llvm / Analysis / ET-Forest.h
index ef2b2155c729e3f5582ab9d249c6dbb98015653d..f41e1f59c9bb30eeef7572dba8a5cacb93a9c41e 100644 (file)
@@ -141,6 +141,7 @@ public:
   // removeFromForest()
   ~ETNode() {
     delete RightmostOcc;
+    delete ParentOcc;
   }
 
   void removeFromForest() {
@@ -250,7 +251,7 @@ public:
     return this->Below(other);
   }
 
-  void assignDFSNumber(int &);
+  void assignDFSNumber (int);
   
   bool hasFather() const {
     return Father != NULL;