summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/Seq.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Core/Seq.hs')
-rw-r--r--compiler/GHC/Core/Seq.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/GHC/Core/Seq.hs b/compiler/GHC/Core/Seq.hs
index 0addae9775..3bfa34e1fd 100644
--- a/compiler/GHC/Core/Seq.hs
+++ b/compiler/GHC/Core/Seq.hs
@@ -112,5 +112,6 @@ seqUnfolding (CoreUnfolding { uf_tmpl = e, uf_is_top = top,
seqUnfolding _ = ()
seqGuidance :: UnfoldingGuidance -> ()
-seqGuidance (UnfIfGoodArgs ns n b) = n `seq` sum ns `seq` b `seq` ()
-seqGuidance _ = ()
+seqGuidance (UnfIfGoodArgs ns ds n b) = n `seq` sum ns `seq` ds `seq` b `seq` ()
+ -- We use strict maps so I think `seq` ds will do
+seqGuidance _ = ()