projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Derive some Typeable instances
[ghc-hetmet.git]
/
compiler
/
codeGen
/
SMRep.lhs
diff --git
a/compiler/codeGen/SMRep.lhs
b/compiler/codeGen/SMRep.lhs
index
32d9583
..
f35118d
100644
(file)
--- a/
compiler/codeGen/SMRep.lhs
+++ b/
compiler/codeGen/SMRep.lhs
@@
-39,7
+39,7
@@
module SMRep (
#include "../includes/MachDeps.h"
#include "../includes/MachDeps.h"
-import CmmExpr -- CmmType and friends
+import CmmType
import Id
import Type
import TyCon
import Id
import Type
import TyCon
@@
-246,7
+246,7
@@
data SMRep
| BlackHoleRep
data ClosureType -- Corresponds 1-1 with the varieties of closures
| BlackHoleRep
data ClosureType -- Corresponds 1-1 with the varieties of closures
- -- implemented by the RTS. Compare with ghc/includes/ClosureTypes.h
+ -- implemented by the RTS. Compare with includes/rts/storage/ClosureTypes.h
= Constr
| ConstrNoCaf
| Fun
= Constr
| ConstrNoCaf
| Fun
@@
-284,7
+284,7
@@
isStaticRep BlackHoleRep = False
\end{code}
\begin{code}
\end{code}
\begin{code}
-#include "../includes/ClosureTypes.h"
+#include "../includes/rts/storage/ClosureTypes.h"
-- Defines CONSTR, CONSTR_1_0 etc
-- krc: only called by tickyDynAlloc in CgTicky; return
-- Defines CONSTR, CONSTR_1_0 etc
-- krc: only called by tickyDynAlloc in CgTicky; return