From 2038cf31684089fe745a3971e32f4d208b68a0a4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 31 Aug 2009 17:08:30 +0000 Subject: [PATCH] cleanups pointed out by duncan git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80595 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/IPA/CallGraphSCCPass.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp index b4c03a976b2..2d5600d6e79 100644 --- a/lib/Analysis/IPA/CallGraphSCCPass.cpp +++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp @@ -113,7 +113,7 @@ bool CGPassManager::RunPassOnSCC(Pass *P, std::vector &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 &CurSCC, ); bool MadeChange = false; - MadeChange = MadeChange; // Scan all functions in the SCC. for (unsigned sccidx = 0, e = CurSCC.size(); sccidx != e; ++sccidx) {