%********************************************************
\begin{code}
-{-# OPTIONS -w #-}
--- The above warning supression flag is a temporary kludge.
--- While working on this module you are encouraged to remove it and fix
--- any warnings in the module. See
--- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
--- for details
-
module CgLetNoEscape ( cgLetNoEscapeClosure ) where
#include "HsVersions.h"
import CLabel
import ClosureInfo
import CostCentre
+import Id
import Var
import SMRep
import BasicTypes
-- ToDo: deal with the cost-centre issues
cgLetNoEscapeClosure
- bndr cc binder_info full_live_in_rhss
- rhs_eob_info cc_slot rec args body
+ bndr cc _ full_live_in_rhss
+ rhs_eob_info cc_slot _ args body
= let
arity = length args
lf_info = mkLFLetNoEscape arity
-> StgExpr -- Body
-> Code
-cgLetNoEscapeBody bndr cc cc_slot all_args body = do
+cgLetNoEscapeBody bndr _ cc_slot all_args body = do
{ (arg_regs, ptrs, nptrs, ret_slot) <- bindUnboxedTupleComponents all_args
-- restore the saved cost centre. BUT: we must not free the stack slot