summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-31 17:08:30 +0000
committerChris Lattner <sabre@nondot.org>2009-08-31 17:08:30 +0000
commita9262bb19cee3ca8f76425faedb0a431dd0b5f51 (patch)
treec42ca57e9d292a39cc02894807e2eb4bd93b31f9
parent4dc74a0d9f976077dd872f79c72e9a17f5ba4f89 (diff)
downloadbcm5719-llvm-a9262bb19cee3ca8f76425faedb0a431dd0b5f51.tar.gz
bcm5719-llvm-a9262bb19cee3ca8f76425faedb0a431dd0b5f51.zip
cleanups pointed out by duncan
llvm-svn: 80595
-rw-r--r--llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp b/llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp
index b4c03a976b2..2d5600d6e79 100644
--- a/llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud