commit | 6c5fd8e0551f99ce46908fedd502b0dbf5864c74 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Aug 31 19:35:16 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Aug 31 19:35:16 2003 +0000 |
tree | 1970621dbda53202dfb1e049450a7b4ca25ae260 | |
parent | b55cae23cb9bd6661093e8c2822be4fd721587e1 [diff] [blame] |
The tarjan iterator now returns a reference to the current SCC, not a possibly null pointer! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8262 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp index fd5e1ca..031fb02 100644 --- a/lib/Analysis/IPA/CallGraphSCCPass.cpp +++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp
@@ -25,6 +25,6 @@ bool Changed = false; for (TarjanSCC_iterator<CallGraph*> I = tarj_begin(&CG), E = tarj_end(&CG); I != E; ++I) - Changed = runOnSCC(**I); + Changed = runOnSCC(*I); return Changed; }