File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
trunk/src/librustc/middle/trans Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 27b06777e6e2469cf4acee00b5702c5c7fb6d414
2
+ refs/heads/master: 1869df30a66243f6f44e37a4f6c8b3d1f098dc94
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5
5
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3
Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ pub fn monomorphic_fn(ccx: @CrateContext,
137
137
138
138
let depth = option:: get_or_default ( ccx. monomorphizing . find ( & fn_id) , 0 u) ;
139
139
// Random cut-off -- code that needs to instantiate the same function
140
- // recursively more than ten times can probably safely be assumed to be
140
+ // recursively more than thirty times can probably safely be assumed to be
141
141
// causing an infinite expansion.
142
- if depth > 10 {
142
+ if depth > 30 {
143
143
ccx. sess . span_fatal (
144
144
span, ~"overly deep expansion of inlined function") ;
145
145
}
You can’t perform that action at this time.
0 commit comments