mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
[LCG] Normalize the post-order SCC iterator to just iterate over the SCC
values rather than having pointers in weird places. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207053 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -518,8 +518,8 @@ PreservedAnalyses LazyCallGraphPrinterPass::run(Module *M,
|
||||
if (Printed.insert(&N))
|
||||
printNodes(OS, N, Printed);
|
||||
|
||||
for (LazyCallGraph::SCC *SCC : G.postorder_sccs())
|
||||
printSCC(OS, *SCC);
|
||||
for (LazyCallGraph::SCC &SCC : G.postorder_sccs())
|
||||
printSCC(OS, SCC);
|
||||
|
||||
return PreservedAnalyses::all();
|
||||
|
||||
|
Reference in New Issue
Block a user