[project @ 2005-04-23 09:56:06 by panne]
authorpanne <unknown>
Sat, 23 Apr 2005 09:56:06 +0000 (09:56 +0000)
committerpanne <unknown>
Sat, 23 Apr 2005 09:56:06 +0000 (09:56 +0000)
ATTENTION: Make it compile again, but only via a wild and probably
wrong guess which might break GHCi. SimonM, please have a look at
this. (Who broke it should fix it! :-)

ghc/compiler/ghci/ByteCodeItbls.lhs

index c425903..3598247 100644 (file)
@@ -89,7 +89,7 @@ make_constr_itbls cons
         mk_itbl dcon conNo entry_addr
            = let rep_args = [ (typeCgRep arg,arg) 
                            | arg <- dataConRepArgTys dcon ]
-                (tot_wds, ptr_wds, _) = mkVirtHeapOffsets rep_args
+                (tot_wds, ptr_wds, _) = mkVirtHeapOffsets False {- TODO: WILD GUESS!!! -} rep_args
 
                  ptrs  = ptr_wds
                  nptrs = tot_wds - ptr_wds