mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
cleanups pointed out by duncan
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80595 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c69d74a5d4
commit
2038cf3168
@ -113,7 +113,7 @@ bool CGPassManager::RunPassOnSCC(Pass *P, std::vector<CallGraphNode*> &CurSCC,
|
|||||||
}
|
}
|
||||||
StopPassTimer(P);
|
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.
|
// callgraph.
|
||||||
if (Changed && CallGraphUpToDate) {
|
if (Changed && CallGraphUpToDate) {
|
||||||
DEBUG(errs() << "CGSCCPASSMGR: Pass Dirtied SCC: "
|
DEBUG(errs() << "CGSCCPASSMGR: Pass Dirtied SCC: "
|
||||||
@ -134,7 +134,6 @@ void CGPassManager::RefreshCallGraph(std::vector<CallGraphNode*> &CurSCC,
|
|||||||
);
|
);
|
||||||
|
|
||||||
bool MadeChange = false;
|
bool MadeChange = false;
|
||||||
MadeChange = MadeChange;
|
|
||||||
|
|
||||||
// Scan all functions in the SCC.
|
// Scan all functions in the SCC.
|
||||||
for (unsigned sccidx = 0, e = CurSCC.size(); sccidx != e; ++sccidx) {
|
for (unsigned sccidx = 0, e = CurSCC.size(); sccidx != e; ++sccidx) {
|
||||||
|
Loading…
Reference in New Issue
Block a user