diff options
| author | Andreas Molzer <andreas.molzer@gmx.de> | 2020-10-31 17:56:13 +0100 |
|---|---|---|
| committer | Andreas Molzer <andreas.molzer@gmx.de> | 2020-10-31 18:52:00 +0100 |
| commit | af72a70ee27faa85522f7656e042c85ab1ee275e (patch) | |
| tree | 51bcfa310359132c94a5ab34f669d0c85a96cee7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | ffe52882ed79be67344dd6085559e308241e7f60 (diff) | |
| download | rust-af72a70ee27faa85522f7656e042c85ab1ee275e.tar.gz rust-af72a70ee27faa85522f7656e042c85ab1ee275e.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
