diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-31 19:35:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-31 19:35:16 +0000 |
commit | 6c5fd8e0551f99ce46908fedd502b0dbf5864c74 (patch) | |
tree | 1970621dbda53202dfb1e049450a7b4ca25ae260 /lib/Analysis/DataStructure/MemoryDepAnalysis.cpp | |
parent | b55cae23cb9bd6661093e8c2822be4fd721587e1 (diff) |
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
Diffstat (limited to 'lib/Analysis/DataStructure/MemoryDepAnalysis.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/MemoryDepAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp b/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp index a185c89119..417b4be0ee 100644 --- a/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp +++ b/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp @@ -432,7 +432,7 @@ bool MemoryDepAnalysis::runOnFunction(Function &F) { SCC<Function*>* nextSCC; for (TarjanSCC_iterator<Function*> I = tarj_begin(&F), E = tarj_end(&F); I != E; ++I) - ProcessSCC(**I, ModRefAfter); + ProcessSCC(*I, ModRefAfter); return true; } |