projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Massive patch for the first months work adding System FC to GHC #26
[ghc-hetmet.git]
/
compiler
/
codeGen
/
CgHeapery.lhs
diff --git
a/compiler/codeGen/CgHeapery.lhs
b/compiler/codeGen/CgHeapery.lhs
index
184af90
..
ae6c892
100644
(file)
--- a/
compiler/codeGen/CgHeapery.lhs
+++ b/
compiler/codeGen/CgHeapery.lhs
@@
-53,7
+53,7
@@
import TyCon ( tyConPrimRep )
import CostCentre ( CostCentreStack )
import Util ( mapAccumL, filterOut )
import Constants ( wORD_SIZE )
import CostCentre ( CostCentreStack )
import Util ( mapAccumL, filterOut )
import Constants ( wORD_SIZE )
-import Packages ( HomeModules )
+import PackageConfig ( PackageId )
import Outputable
\end{code}
import Outputable
\end{code}
@@
-123,7
+123,7
@@
getHpRelOffset virtual_offset
\begin{code}
layOutDynConstr, layOutStaticConstr
\begin{code}
layOutDynConstr, layOutStaticConstr
- :: HomeModules
+ :: PackageId
-> DataCon
-> [(CgRep,a)]
-> (ClosureInfo,
-> DataCon
-> [(CgRep,a)]
-> (ClosureInfo,
@@
-132,8
+132,8
@@
layOutDynConstr, layOutStaticConstr
layOutDynConstr = layOutConstr False
layOutStaticConstr = layOutConstr True
layOutDynConstr = layOutConstr False
layOutStaticConstr = layOutConstr True
-layOutConstr is_static hmods data_con args
- = (mkConInfo hmods is_static data_con tot_wds ptr_wds,
+layOutConstr is_static this_pkg data_con args
+ = (mkConInfo this_pkg is_static data_con tot_wds ptr_wds,
things_w_offsets)
where
(tot_wds, -- #ptr_wds + #nonptr_wds
things_w_offsets)
where
(tot_wds, -- #ptr_wds + #nonptr_wds