Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move post order walk to iterative approach
The previous recursive approach might overflow the stack when walking a particularly deep, list-like, graph. In particular, dominator calculation for borrow checking does such a traversal and very long functions might lead to a region dependency graph with in this problematic structure.
- Loading branch information