From 11a85cc7ea50d4b7c12ea2cc3c0ce39734dc4217 Mon Sep 17 00:00:00 2001 From: Nicolas Frisby Date: Wed, 1 May 2013 08:45:52 -0500 Subject: extended ticky to also track "let"s that are not conventional closures This includes selector, ap, and constructor thunks. They are still guarded by the -ticky-dyn-thk flag. (This is 024df664b600a with a small bug fix.) --- compiler/codeGen/StgCmmMonad.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/codeGen/StgCmmMonad.hs') 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}) -- cgit v1.2.1