aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-04-01 18:46:59 +0000
committerBob Wilson <bob.wilson@apple.com>2010-04-01 18:46:59 +0000
commit44269f937ff72aba46fa351b861c021d3bb5ad7b (patch)
treeb77655cf419e8836ad23e530d5f7c435da617786 /include/llvm/Transforms
parent7fed26826a06a92975666b6a555af27261827a4a (diff)
downloadexternal_llvm-44269f937ff72aba46fa351b861c021d3bb5ad7b.zip
external_llvm-44269f937ff72aba46fa351b861c021d3bb5ad7b.tar.gz
external_llvm-44269f937ff72aba46fa351b861c021d3bb5ad7b.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')
-rw-r--r--include/llvm/Transforms/Utils/SSAUpdater.h2
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