mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user