diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-04-01 18:46:59 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-04-01 18:46:59 +0000 |
commit | e8b64281ce79b804df613acc673f49f364631a63 (patch) | |
tree | b77655cf419e8836ad23e530d5f7c435da617786 /include/llvm/Transforms/Utils/SSAUpdater.h | |
parent | 94107ba9ceaa199f8e5c03912511b0619c84226d (diff) | |
download | external_llvm-e8b64281ce79b804df613acc673f49f364631a63.zip external_llvm-e8b64281ce79b804df613acc673f49f364631a63.tar.gz external_llvm-e8b64281ce79b804df613acc673f49f364631a63.tar.bz2 |
The SSAUpdater should avoid recursive traversals of the CFG, since that may
blow out the stack for really big functions. Start by fixing an easy case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/SSAUpdater.h')
-rw-r--r-- | include/llvm/Transforms/Utils/SSAUpdater.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/SSAUpdater.h b/include/llvm/Transforms/Utils/SSAUpdater.h index 748ded3..f353840 100644 --- a/include/llvm/Transforms/Utils/SSAUpdater.h +++ b/include/llvm/Transforms/Utils/SSAUpdater.h @@ -111,7 +111,7 @@ private: void FindExistingPHI(BasicBlock *BB, BBInfo *Info); bool CheckIfPHIMatches(BasicBlock *BB, BBInfo *Info, Value *Val); void RecordMatchingPHI(BasicBlock *BB, BBInfo *Info, PHINode *PHI); - void ClearPHITags(BasicBlock *BB, BBInfo *Info, PHINode *PHI); + void ClearPHITags(PHINode *PHI); void operator=(const SSAUpdater&); // DO NOT IMPLEMENT SSAUpdater(const SSAUpdater&); // DO NOT IMPLEMENT |