summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmMonad.hs
diff options
context:
space:
mode:
authorNicolas Frisby <nicolas.frisby@gmail.com>2013-04-12 00:03:27 +0100
committerNicolas Frisby <nicolas.frisby@gmail.com>2013-04-12 17:57:33 +0100
commitb906525257b5a0ca84cbfea65fccaafcf1900211 (patch)
tree1d5f7516def92c89609a5c5f2b3e83c67e458270 /compiler/codeGen/StgCmmMonad.hs
parent3fc6ead1027c2b0079e674173983dec875b55ca6 (diff)
downloadhaskell-ticky-for-all-lets.tar.gz
extended ticky to also track "let"s that are not closuresticky-for-all-lets
This includes selector, ap, and constructor thunks. They are still guarded by the -ticky-dyn-thk flag.
Diffstat (limited to 'compiler/codeGen/StgCmmMonad.hs')
-rw-r--r--compiler/codeGen/StgCmmMonad.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmMonad.hs b/compiler/codeGen/StgCmmMonad.hs
index dd7e95078f..1f3d5c4886 100644
--- a/compiler/codeGen/StgCmmMonad.hs
+++ b/compiler/codeGen/StgCmmMonad.hs
@@ -514,7 +514,7 @@ getTickyCtrLabel = do
info <- getInfoDown
return (cgd_ticky info)
-setTickyCtrLabel :: CLabel -> FCode () -> FCode ()
+setTickyCtrLabel :: CLabel -> FCode a -> FCode a
setTickyCtrLabel ticky code = do
info <- getInfoDown
withInfoDown code (info {cgd_ticky = ticky})