From 19bbe5eb14f549aa8ed395bebbb99a2f4dd668ca Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 19 Feb 2001 12:13:49 +0000 Subject: [PATCH] [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. --- ghc/compiler/parser/hschooks.c | 1 + 1 file changed, 1 insertion(+) 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; -- 1.7.10.4