Commit 4f87f8ca authored by Simon Marlow's avatar Simon Marlow
Browse files

bump MAX_THUNK_SELECTOR_DEPTH from 8 to 16

this "fixes" #1038, in that the example runs in constant space, but
it's really only working around the problem.  I have a better patch,
attached to ticket #1038, but I'm wary about tinkering with this
notorious bug farm so close to the release, so I'll push it after
6.8.1.
parent c9a8811e
......@@ -24,7 +24,7 @@
/* Used to avoid long recursion due to selector thunks
*/
lnat thunk_selector_depth = 0;
#define MAX_THUNK_SELECTOR_DEPTH 8
#define MAX_THUNK_SELECTOR_DEPTH 16
static StgClosure * eval_thunk_selector ( nat field, StgSelector * p );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment