[project @ 2001-08-21 10:00:22 by simonpj]
authorsimonpj <unknown>
Tue, 21 Aug 2001 10:00:22 +0000 (10:00 +0000)
committersimonpj <unknown>
Tue, 21 Aug 2001 10:00:22 +0000 (10:00 +0000)
wibbles

ghc/compiler/codeGen/CgClosure.lhs
ghc/compiler/prelude/PrimOp.lhs

index bf29d79..32f442e 100644 (file)
@@ -1,7 +1,7 @@
 %
 % (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
 %
-% $Id: CgClosure.lhs,v 1.46 2001/03/22 03:51:08 hwloidl Exp $
+% $Id: CgClosure.lhs,v 1.47 2001/08/21 10:00:22 simonpj Exp $
 %
 \section[CgClosure]{Code generation for closures}
 
@@ -410,7 +410,7 @@ closureCodeBody binder_info closure_info cc all_args body
       forkAbsC (if slow_code_needed then slow_entry_code else absC AbsCNop)
                                `thenFC` \ slow_abs_c ->
       forkAbsC fast_entry_code `thenFC` \ fast_abs_c ->
-      moduleName                       `thenFC` \ mod_name ->
+      moduleName               `thenFC` \ mod_name ->
 
        -- Now either construct the info table, or put the fast code in alone
        -- (We never have slow code without an info table)
index afec1a2..827cc15 100644 (file)
@@ -525,6 +525,8 @@ getPrimOpResultInfo op
                         where
                           tc = tyConAppTyCon ty
                        -- All primops return a tycon-app result
+                       -- The tycon can be an unboxed tuple, though, which
+                       -- gives rise to a ReturnAlg
 \end{code}
 
 The commutable ops are those for which we will try to move constants