diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-31 17:08:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-31 17:08:30 +0000 |
commit | cf91fb4cb2e15b1fa07dc1282ac59c3659d80015 (patch) | |
tree | f4f6b3b0314f47e3dd85198a0340bd92975c089a /lib/Analysis | |
parent | 752d366fe7a9d0f68258465ce554cdf40af2918e (diff) | |
download | external_llvm-cf91fb4cb2e15b1fa07dc1282ac59c3659d80015.zip external_llvm-cf91fb4cb2e15b1fa07dc1282ac59c3659d80015.tar.gz external_llvm-cf91fb4cb2e15b1fa07dc1282ac59c3659d80015.tar.bz2 |
cleanups pointed out by duncan
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/IPA/CallGraphSCCPass.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp index b4c03a9..2d5600d 100644 --- a/lib/Analysis/IPA/CallGraphSCCPass.cpp +++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp @@ -113,7 +113,7 @@ bool CGPassManager::RunPassOnSCC(Pass *P, std::vector<CallGraphNode*> &CurSCC, } StopPassTimer(P); - // The the function pass(es) modified the IR, they may have clobbered the + // The function pass(es) modified the IR, they may have clobbered the // callgraph. if (Changed && CallGraphUpToDate) { DEBUG(errs() << "CGSCCPASSMGR: Pass Dirtied SCC: " @@ -134,7 +134,6 @@ void CGPassManager::RefreshCallGraph(std::vector<CallGraphNode*> &CurSCC, ); bool MadeChange = false; - MadeChange = MadeChange; // Scan all functions in the SCC. for (unsigned sccidx = 0, e = CurSCC.size(); sccidx != e; ++sccidx) { |