projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1998-12-02 13:17:09 by simonm]
[ghc-hetmet.git]
/
ghc
/
compiler
/
simplCore
/
SAT.lhs
diff --git
a/ghc/compiler/simplCore/SAT.lhs
b/ghc/compiler/simplCore/SAT.lhs
index
f06b416
..
c79a174
100644
(file)
--- 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}
\end{code}
\begin{code}
-doStaticArgs :: [CoreBinding] -> UniqSupply -> [CoreBinding]
+doStaticArgs :: [CoreBind] -> UniqSupply -> [CoreBind]
doStaticArgs binds
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_`
where
sat_bind (NonRec binder expr)
= emptyEnvSAT `thenSAT_`