diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-11-21 23:39:51 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-11-21 23:40:55 -0500 |
commit | 3f86d715310fa5df911c5e411c4268db57f54498 (patch) | |
tree | 160a590a80d93f730f7ff95cbb30f2bcbd80abd8 /rts/RtsUtils.c | |
parent | 451aeac3b07f171f148995717d0d9a1eefe08f0e (diff) | |
download | haskell-wip/stack-overflow-size.tar.gz |
Diffstat (limited to 'rts/RtsUtils.c')
-rw-r--r-- | rts/RtsUtils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c index d3dcdf3092..6c5f499336 100644 --- a/rts/RtsUtils.c +++ b/rts/RtsUtils.c @@ -133,9 +133,9 @@ stgFree(void* p) -------------------------------------------------------------------------- */ void -reportStackOverflow(StgTSO* tso) +reportStackOverflow(StgWord words) { - rtsConfig.stackOverflowHook(tso->tot_stack_size * sizeof(W_)); + rtsConfig.stackOverflowHook(words * sizeof(W_)); #if defined(TICKY_TICKY) if (RtsFlags.TickyFlags.showTickyStats) PrintTickyInfo(); |