bindings have no CAF references, and record the fact in their IdInfo.
\begin{code}
+{-# OPTIONS -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
+-- for details
+
module SRT( computeSRTs ) where
#include "HsVersions.h"
import Id ( Id )
import VarSet
import VarEnv
-import Util ( sortLe )
-import Maybes ( orElse )
-import Maybes ( expectJust )
+import Maybes ( orElse, expectJust )
import Bitmap ( intsToBitmap )
#ifdef DEBUG
import List
import Util
-import Outputable
\end{code}
\begin{code}
srtExpr table (StgSCC cc expr) = StgSCC cc $! srtExpr table expr
+srtExpr table (StgTick m n expr) = StgTick m n $! srtExpr table expr
+
srtExpr table (StgCase scrut live1 live2 uniq srt alt_type alts)
= StgCase expr' live1 live2 uniq srt' alt_type alts'
where