Commit 6e4feb0e authored by simonpj's avatar simonpj
Browse files

[project @ 2001-08-21 10:00:22 by simonpj]

wibbles
parent 6c0d7900
%
% (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)
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment