mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Genericize the ReversePostOrderIterator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -124,7 +124,7 @@ int main(int argc, char **argv) {
|
||||
std::ostream_iterator<BasicBlock*>(*Out, "\n"));
|
||||
break;
|
||||
case rpo: { // Reverse Post Order
|
||||
ReversePostOrderTraversal RPOT(M);
|
||||
ReversePostOrderTraversal<Method*> RPOT(M);
|
||||
copy(RPOT.begin(), RPOT.end(),
|
||||
std::ostream_iterator<BasicBlock*>(*Out, "\n"));
|
||||
break;
|
||||
|
Reference in New Issue
Block a user