diff options
author | Nicolas Frisby <nicolas.frisby@gmail.com> | 2013-04-12 00:03:27 +0100 |
---|---|---|
committer | Nicolas Frisby <nicolas.frisby@gmail.com> | 2013-04-12 11:54:11 +0100 |
commit | 024df664b600a622cb8189ccf31789688505fc1c (patch) | |
tree | 9d46289910ba55d4ff633530e442d9f2ac8f9b52 /compiler/codeGen/StgCmmMonad.hs | |
parent | 6afa7779b9614aea7130238b31f4864616f9205e (diff) | |
download | haskell-024df664b600a622cb8189ccf31789688505fc1c.tar.gz |
extended ticky to also track "let"s that are not closures
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.hs | 2 |
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}) |