summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2020-03-04 16:12:14 +0100
committerAndreas Klebinger <klebinger.andreas@gmx.at>2020-03-04 16:12:14 +0100
commit8c663c2c2ff0d79b2c7cfadb0ce961339f1e7e4c (patch)
treef33229fbd930ff5958f9f57a9018d6edde2dec8a /rts
parent2a2f51d79f145e015cc089d97cf71c19dd27bee4 (diff)
downloadhaskell-8c663c2c2ff0d79b2c7cfadb0ce961339f1e7e4c.tar.gz
Be explicit about how stack usage of mvar primops are covered.
This fixes #17893 [skip-ci]
Diffstat (limited to 'rts')
-rw-r--r--rts/HeapStackCheck.cmm1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/HeapStackCheck.cmm b/rts/HeapStackCheck.cmm
index 461cf13df1..fc128e312f 100644
--- a/rts/HeapStackCheck.cmm
+++ b/rts/HeapStackCheck.cmm
@@ -524,6 +524,7 @@ stg_block_takemvar_finally
jump StgReturn [R1];
}
+// Stack useage covered by RESERVED_STACK_WORDS
stg_block_takemvar /* mvar passed in R1 */
{
Sp_adj(-2);