about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAndreas Molzer <andreas.molzer@gmx.de>2020-10-31 17:56:13 +0100
committerAndreas Molzer <andreas.molzer@gmx.de>2020-10-31 18:52:00 +0100
commitaf72a70ee27faa85522f7656e042c85ab1ee275e (patch)
tree51bcfa310359132c94a5ab34f669d0c85a96cee7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentffe52882ed79be67344dd6085559e308241e7f60 (diff)
downloadrust-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