diff options
author | Devang Patel <dpatel@apple.com> | 2007-05-03 20:55:18 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-05-03 20:55:18 +0000 |
commit | 99c282453af9353ab1be42604414e8f4de338477 (patch) | |
tree | 0b01a6db57c50fc50a6249e029d53bc07e4dd69f /include | |
parent | 4ac075c859ec0b03d61229bca3517a6801ac63ab (diff) | |
download | external_llvm-99c282453af9353ab1be42604414e8f4de338477.zip external_llvm-99c282453af9353ab1be42604414e8f4de338477.tar.gz external_llvm-99c282453af9353ab1be42604414e8f4de338477.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/Dominators.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |