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

Devang Patel dpatel at apple.com
Thu May 3 13:55:45 PDT 2007



Changes in directory llvm/include/llvm/Analysis:

Dominators.h updated: 1.79 -> 1.80
---
Log message:

Use iterative while loop instead of recursive function call.


---
Diffs of the changes:  (+1 -1)

 Dominators.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/Analysis/Dominators.h
diff -u llvm/include/llvm/Analysis/Dominators.h:1.79 llvm/include/llvm/Analysis/Dominators.h:1.80
--- llvm/include/llvm/Analysis/Dominators.h:1.79	Wed May  2 20:11:53 2007
+++ llvm/include/llvm/Analysis/Dominators.h	Thu May  3 15:55:18 2007
@@ -225,7 +225,7 @@
   void calculate(Function& F);
   Node *getNodeForBlock(BasicBlock *BB);
   unsigned DFSPass(BasicBlock *V, InfoRec &VInfo, unsigned N);
-  void Compress(BasicBlock *V, InfoRec &VInfo);
+  void Compress(BasicBlock *V);
   BasicBlock *Eval(BasicBlock *v);
   void Link(BasicBlock *V, BasicBlock *W, InfoRec &WInfo);
   inline BasicBlock *getIDom(BasicBlock *BB) const {






More information about the llvm-commits mailing list