projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix whitespace in TcTyDecls
[ghc-hetmet.git]
/
compiler
/
codeGen
/
CodeGen.lhs
diff --git
a/compiler/codeGen/CodeGen.lhs
b/compiler/codeGen/CodeGen.lhs
index
ee25300
..
4221342
100644
(file)
--- a/
compiler/codeGen/CodeGen.lhs
+++ b/
compiler/codeGen/CodeGen.lhs
@@
-54,10
+54,7
@@
import OccName
import TyCon
import Module
import ErrUtils
import TyCon
import Module
import ErrUtils
-
-#ifdef DEBUG
import Panic
import Panic
-#endif
\end{code}
\begin{code}
\end{code}
\begin{code}
@@
-70,6
+67,10
@@
codeGen :: DynFlags
-> HpcInfo
-> IO [Cmm] -- Output
-> HpcInfo
-> IO [Cmm] -- Output
+ -- N.B. returning '[Cmm]' and not 'Cmm' here makes it
+ -- possible for object splitting to split up the
+ -- pieces later.
+
codeGen dflags this_mod data_tycons imported_mods
cost_centre_info stg_binds hpc_info
= do
codeGen dflags this_mod data_tycons imported_mods
cost_centre_info stg_binds hpc_info
= do