diff options
| author | Manuel M T Chakravarty <chak@cse.unsw.edu.au> | 2006-09-20 17:36:49 +0000 |
|---|---|---|
| committer | Manuel M T Chakravarty <chak@cse.unsw.edu.au> | 2006-09-20 17:36:49 +0000 |
| commit | a6cbfa877c81ef3563d267a35faeb9633ef3000a (patch) | |
| tree | f343d4056c904d43f43fda762dcbbee5512d02f2 /compiler | |
| parent | a4c34367ce3e836f52f0ffb1e379ce81b8d65316 (diff) | |
| download | haskell-a6cbfa877c81ef3563d267a35faeb9633ef3000a.tar.gz | |
Comment
Mon Sep 18 14:47:19 EDT 2006 Manuel M T Chakravarty <chak@cse.unsw.edu.au>
* Comment
Sat Aug 5 21:44:13 EDT 2006 Manuel M T Chakravarty <chak@cse.unsw.edu.au>
* Comment
Fri Jul 14 12:49:37 EDT 2006 simonpj@microsoft.com
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/basicTypes/MkId.lhs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/basicTypes/MkId.lhs b/compiler/basicTypes/MkId.lhs index 1485f48bf3..2373d726fe 100644 --- a/compiler/basicTypes/MkId.lhs +++ b/compiler/basicTypes/MkId.lhs @@ -587,6 +587,9 @@ unboxProduct i arg arg_ty body res_ty rhs = body i'' con_args mkUnpackCase :: Id -> CoreExpr -> [Id] -> DataCon -> CoreExpr -> CoreExpr +-- (mkUnpackCase x e args Con body) +-- returns +-- case (e `cast` ...) of bndr { Con args -> body } mkUnpackCase bndr arg unpk_args boxing_con body = Case cast_arg bndr (exprType body) [(DataAlt boxing_con, unpk_args, body)] where |
