diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-04-01 23:05:58 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-04-01 23:05:58 +0000 |
commit | 6f69035970fa24380f94c668b3e549cc83c4db4b (patch) | |
tree | 411e7f8f2fb6708e521b2c9edf21ff5fd2f61d8b /include/llvm/Transforms/Utils/SSAUpdater.h | |
parent | 1d8f83d0a00e912c55ec0974eba6122666cc6fa1 (diff) |
Rewrite another SSAUpdater function to avoid recursion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/SSAUpdater.h')
-rw-r--r-- | include/llvm/Transforms/Utils/SSAUpdater.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/SSAUpdater.h b/include/llvm/Transforms/Utils/SSAUpdater.h index f550d0285b..b29b749e8d 100644 --- a/include/llvm/Transforms/Utils/SSAUpdater.h +++ b/include/llvm/Transforms/Utils/SSAUpdater.h @@ -108,8 +108,8 @@ private: void FindPHIPlacement(BasicBlock *BB, BBInfo *Info, bool &Changed, unsigned Counter); void FindAvailableVal(BasicBlock *BB, BBInfo *Info, unsigned Counter); - void FindExistingPHI(BasicBlock *BB, BBInfo *Info); - bool CheckIfPHIMatches(BasicBlock *BB, BBInfo *Info, Value *Val); + void FindExistingPHI(BasicBlock *BB); + bool CheckIfPHIMatches(PHINode *PHI); void RecordMatchingPHI(PHINode *PHI); void ClearPHITags(PHINode *PHI); |