llvm.org GIT mirror llvm / d8a947e
Fix warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4708 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
2 changed file(s) with 2 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
5454 // class TarjanSCC_iterator: Enumerate the SCCs of a directed graph, in
5555 // reverse topological order of the SCC DAG.
5656 //--------------------------------------------------------------------------
57
58 const unsigned long MAXLONG = (1 << (8 * sizeof(unsigned long) - 1));
5957
6058 namespace {
6159 Statistic<> NumSCCs("NumSCCs", "Number of Strongly Connected Components");
151149 do {
152150 CurrentSCC.push_back(SCCNodeStack.top());
153151 SCCNodeStack.pop();
154 nodeVisitNumbers[CurrentSCC.back()] = MAXLONG;
152 nodeVisitNumbers[CurrentSCC.back()] = ~0UL;
155153 } while (CurrentSCC.back() != visitingN);
156154
157155 ++NumSCCs;
5454 // class TarjanSCC_iterator: Enumerate the SCCs of a directed graph, in
5555 // reverse topological order of the SCC DAG.
5656 //--------------------------------------------------------------------------
57
58 const unsigned long MAXLONG = (1 << (8 * sizeof(unsigned long) - 1));
5957
6058 namespace {
6159 Statistic<> NumSCCs("NumSCCs", "Number of Strongly Connected Components");
151149 do {
152150 CurrentSCC.push_back(SCCNodeStack.top());
153151 SCCNodeStack.pop();
154 nodeVisitNumbers[CurrentSCC.back()] = MAXLONG;
152 nodeVisitNumbers[CurrentSCC.back()] = ~0UL;
155153 } while (CurrentSCC.back() != visitingN);
156154
157155 ++NumSCCs;