X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FsimplCore%2FSAT.lhs;h=c79a174b4e0152931d3fe8a273f665fb512cf7df;hb=438596897ebbe25a07e1c82085cfbc5bdb00f09e;hp=f06b4166f7d1da0c5d491b7c8be4f72656812782;hpb=2c8f04b5b883db74f449dfc8c224929fe28b027d;p=ghc-hetmet.git diff --git a/ghc/compiler/simplCore/SAT.lhs b/ghc/compiler/simplCore/SAT.lhs index f06b416..c79a174 100644 --- a/ghc/compiler/simplCore/SAT.lhs +++ b/ghc/compiler/simplCore/SAT.lhs @@ -1,5 +1,5 @@ % -% (c) The GRASP/AQUA Project, Glasgow University, 1992-1996 +% (c) The GRASP/AQUA Project, Glasgow University, 1992-1998 % %************************************************************************ %* * @@ -53,10 +53,16 @@ import Util \end{code} \begin{code} -doStaticArgs :: [CoreBinding] -> UniqSupply -> [CoreBinding] +doStaticArgs :: [CoreBind] -> UniqSupply -> [CoreBind] doStaticArgs binds - = initSAT (mapSAT sat_bind binds) + = do { + beginPass "Static argument"; + let { binds' = initSAT (mapSAT sat_bind binds) }; + endPass "Static argument" + False -- No specific flag for dumping SAT + binds' + } where sat_bind (NonRec binder expr) = emptyEnvSAT `thenSAT_`