summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Session.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-01-06 10:14:13 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-17 05:52:26 -0500
commit84dcb8440e94fab5aaba66e613de27d89264f076 (patch)
tree5b04cd3e7ba11352b61c3b042d23d8d8f2f47f52 /compiler/GHC/Driver/Session.hs
parent55a8f86024098ae62d6a2aa00ae850de0e2bc79d (diff)
downloadhaskell-84dcb8440e94fab5aaba66e613de27d89264f076.tar.gz
Revert "Remove SpecConstrAnnotation (#13681)" (#19168)
This reverts commit 7bc3a65b467c4286377b9bded277d5a2f69160b3. NoSpecConstr is used in the wild (see #19168)
Diffstat (limited to 'compiler/GHC/Driver/Session.hs')
-rw-r--r--compiler/GHC/Driver/Session.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index 109d854526..8e92fc974f 100644
--- a/compiler/GHC/Driver/Session.hs
+++ b/compiler/GHC/Driver/Session.hs
@@ -466,7 +466,7 @@ data DynFlags = DynFlags {
specConstrThreshold :: Maybe Int, -- ^ Threshold for SpecConstr
specConstrCount :: Maybe Int, -- ^ Max number of specialisations for any one function
specConstrRecursive :: Int, -- ^ Max number of specialisations for recursive types
- -- Not optional; otherwise SPEC can diverge.
+ -- Not optional; otherwise ForceSpecConstr can diverge.
binBlobThreshold :: Word, -- ^ Binary literals (e.g. strings) whose size is above
-- this threshold will be dumped in a binary file
-- by the assembler code generator (0 to disable)