[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h

Devang Patel dpatel at apple.com
Tue Jun 12 10:31:18 PDT 2007



Changes in directory llvm/include/llvm/Analysis:

Dominators.h updated: 1.104 -> 1.105
---
Log message:

Protect updateDFSNumbers()


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

 Dominators.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Analysis/Dominators.h
diff -u llvm/include/llvm/Analysis/Dominators.h:1.104 llvm/include/llvm/Analysis/Dominators.h:1.105
--- llvm/include/llvm/Analysis/Dominators.h:1.104	Tue Jun 12 00:49:31 2007
+++ llvm/include/llvm/Analysis/Dominators.h	Tue Jun 12 12:30:56 2007
@@ -131,6 +131,8 @@
   // Info - Collection of information used during the computation of idoms.
   std::map<BasicBlock*, InfoRec> Info;
 
+  void updateDFSNumbers();
+
   public:
   DominatorTreeBase(intptr_t ID, bool isPostDom) 
     : DominatorBase(ID, isPostDom), DFSInfoValid(false), SlowQueries(0) {}
@@ -191,13 +193,12 @@
     return IDom != 0;
   }
 
-  void updateDFSNumbers();  
 
   /// isReachableFromEntry - Return true if A is dominated by the entry
   /// block of the function containing it.
   const bool isReachableFromEntry(BasicBlock* A);
   
-  /// dominates - Returns true iff this dominates N.  Note that this is not a
+  /// dominates - Returns true iff A dominates B.  Note that this is not a
   /// constant time operation!
   ///
   inline bool dominates(const DomTreeNode *A, DomTreeNode *B) {






More information about the llvm-commits mailing list