From: simonmar Date: Mon, 19 Feb 2001 12:13:49 +0000 (+0000) Subject: [project @ 2001-02-19 12:13:49 by simonmar] X-Git-Tag: Approximately_9120_patches~2601 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=19bbe5eb14f549aa8ed395bebbb99a2f4dd668ca;p=ghc-hetmet.git [project @ 2001-02-19 12:13:49 by simonmar] Rather than implement -K (which would probably need another primop), simply bump the maximum stack size to 8M. It dynamically grows anyhow. --- diff --git a/ghc/compiler/parser/hschooks.c b/ghc/compiler/parser/hschooks.c index 6d94290..de54936 100644 --- a/ghc/compiler/parser/hschooks.c +++ b/ghc/compiler/parser/hschooks.c @@ -20,6 +20,7 @@ defaultsHook (void) { #if __GLASGOW_HASKELL__ >= 408 RtsFlags.GcFlags.heapSizeSuggestion = 6*1024*1024 / BLOCK_SIZE; + RtsFlags.GcFlags.maxStkSize = 8*1024*1024 / sizeof(W_); #endif #if __GLASGOW_HASKELL__ >= 411 RtsFlags.GcFlags.giveStats = COLLECT_GC_STATS;