%
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
%
-% $Id: CgCase.lhs,v 1.63 2003/07/02 13:12:35 simonpj Exp $
+% $Id: CgCase.lhs,v 1.64 2003/07/02 13:18:24 simonpj Exp $
%
%********************************************************
%* *
getCAddrMode v `thenFC` \ amode ->
bindNewToTemp bndr `thenFC` \ tmp_amode ->
absC (CAssign tmp_amode amode) `thenC`
- cgPrimAlts NoGC amode alts alt_type
- -- TEMP Should be tmp_amode, not amode
- -- but for line-by-line comparison with old stuff, we pass amode too
+ cgPrimAlts NoGC tmp_amode alts alt_type
\end{code}
Special case #3: inline PrimOps.
%
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
%
-% $Id: CgExpr.lhs,v 1.54 2003/07/02 13:12:36 simonpj Exp $
+% $Id: CgExpr.lhs,v 1.56 2003/07/02 13:19:28 simonpj Exp $
%
%********************************************************
%* *
import CoreSyn ( AltCon(..) )
import CgBindery ( getArgAmodes, getArgAmode, CgIdInfo,
nukeDeadBindings, addBindC, addBindsC )
-import CgCase ( cgCase, saveVolatileVarsAndRegs, restoreCurrentCostCentre )
+import CgCase ( cgCase, saveVolatileVarsAndRegs )
import CgClosure ( cgRhsClosure, cgStdRhsClosure )
import CgCon ( buildDynCon, cgReturnDataCon )
import CgLetNoEscape ( cgLetNoEscapeClosure )
saveVolatileVarsAndRegs live_in_rhss
`thenFC` \ (save_assts, rhs_eob_info, maybe_cc_slot) ->
- -- TEMP: put back in for line-by-line compatibility
- -- Doesn't look right; surely should restore in the branch!
- -- And the code isn't used....
- restoreCurrentCostCentre maybe_cc_slot `thenFC` \ restore_cc ->
-
-- Save those variables right now!
absC save_assts `thenC`
%
% (c) The GRASP/AQUA Project, Glasgow University, 1993-1998
%
-% $Id: CgLetNoEscape.lhs,v 1.21 2003/07/02 13:12:37 simonpj Exp $
+% $Id: CgLetNoEscape.lhs,v 1.22 2003/07/02 13:19:29 simonpj Exp $
%
%********************************************************
%* *
(deAllocStackTop retPrimRepSize `thenFC` \_ ->
forkAbsC (
--- TEMP omit for line-by-line compatibility
--- restoreCurrentCostCentre cc_slot `thenC`
+ restoreCurrentCostCentre cc_slot `thenC`
cgLetNoEscapeBody bndr cc args body
) `thenFC` \ abs_c ->
mkRetDirectTarget bndr abs_c srt