Skip to content

Commit b1a7e34

Browse files
committed
rollup merge of rust-lang#21127: erickt/opt-stack
libsyntax compiled without optimization uses a lot of stack, which can cause it to run out of stack space. This PR factors out some arm handlers from `print_expr` as well as converts `advance_left` into a loop. This helps to cut down on the stack usage.
2 parents 4c4092d + e14d053 commit b1a7e34

File tree

2 files changed

+252
-174
lines changed

2 files changed

+252
-174
lines changed

0 commit comments

Comments
 (0)