about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-19 00:00:39 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-01-20 13:49:31 -0800
commit1f542cd2640fd969cba328ca3b4059acd6428a83 (patch)
tree3d65def75e016b13839e07c6bd979d04f3875ffe /src/rustllvm/RustWrapper.cpp
parentaa67e13498936c42581f70daaf3b6d028426dde6 (diff)
downloadrust-1f542cd2640fd969cba328ca3b4059acd6428a83.tar.gz
rust-1f542cd2640fd969cba328ca3b4059acd6428a83.zip
Fix a pathological const checking case
The included test case would essentially never finish compiling without this
patch. It recursies twice at every ExprParen meaning that the branching factor
is 2^n

The included test case will take so long to parse on the old compiler that it'll
surely never let this crop up again.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions