summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2022-09-27 00:10:47 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-11-30 14:50:58 -0500
commit31462d98c31e3ef48af2f6c6f2d379d74ccc63f5 (patch)
treee9b4748c3bf96a6e96057ce7cffb12d5e1448bb9 /docs
parenta9d9b8c0458e838f331ead62dca272665ecbf20d (diff)
downloadhaskell-31462d98c31e3ef48af2f6c6f2d379d74ccc63f5.tar.gz
Properly cast values when writing/reading unboxed sums.
Unboxed sums might store a Int8# value as Int64#. This patch makes sure we keep track of the actual value type. See Note [Casting slot arguments] for the details.
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/debugging.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index e7b4f12bd9..1448662698 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -952,6 +952,16 @@ parts that you are not interested in.
Suppress the printing of core size stats per binding
+.. ghc-flag:: -dsuppress-stg-reps
+ :shortdesc: Suppress rep annotations on STG args.
+ :type: dynamic
+
+ :since: 9.6.1
+
+ default: enabled
+
+ Disabling this will annoate certain stg arguments with their prim rep.
+
.. _checking-consistency: