From 729d73d425430c285116af0d1ae523e95c3fa9eb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 31 Aug 2003 19:55:06 +0000 Subject: Don't explicitly use the SCC class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8271 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/opt/PrintSCC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/opt/PrintSCC.cpp') diff --git a/tools/opt/PrintSCC.cpp b/tools/opt/PrintSCC.cpp index 80f699597d..0fbc240188 100644 --- a/tools/opt/PrintSCC.cpp +++ b/tools/opt/PrintSCC.cpp @@ -59,7 +59,7 @@ bool CFGSCC::runOnFunction(Function &F) { std::cout << "SCCs for Function " << F.getName() << " in PostOrder:"; for (TarjanSCC_iterator SCCI = tarj_begin(&F), E = tarj_end(&F); SCCI != E; ++SCCI) { - SCC &nextSCC = *SCCI; + std::vector &nextSCC = *SCCI; std::cout << "\nSCC #" << ++sccNum << " : "; for (std::vector::const_iterator I = nextSCC.begin(), E = nextSCC.end(); I != E; ++I) @@ -80,7 +80,7 @@ bool CallGraphSCC::run(Module &M) { std::cout << "SCCs for the program in PostOrder:"; for (TarjanSCC_iterator SCCI = tarj_begin(rootNode), E = tarj_end(rootNode); SCCI != E; ++SCCI) { - const SCC &nextSCC = *SCCI; + const std::vector &nextSCC = *SCCI; std::cout << "\nSCC #" << ++sccNum << " : "; for (std::vector::const_iterator I = nextSCC.begin(), E = nextSCC.end(); I != E; ++I) -- cgit v1.2.3