From 99c282453af9353ab1be42604414e8f4de338477 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 3 May 2007 20:55:18 +0000 Subject: Use iterative while loop instead of recursive function call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36694 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/Dominators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index cca73bf..20c2c5f 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -225,7 +225,7 @@ private: 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 { -- cgit v1.1