diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2016-06-09 14:42:26 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2016-06-10 17:18:56 +0100 |
commit | 0f0b002ce4593a78b8996c77c063c89e09b284e4 (patch) | |
tree | 7d466f300b4d68d51233470b9508d395bf536d0f /compiler/stgSyn | |
parent | 6905ce26080ee30119d1949e8bbd3c36bfe754af (diff) | |
download | haskell-0f0b002ce4593a78b8996c77c063c89e09b284e4.tar.gz |
Comments only
...about unarisation and unboxed tuples
Diffstat (limited to 'compiler/stgSyn')
-rw-r--r-- | compiler/stgSyn/CoreToStg.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stgSyn/CoreToStg.hs b/compiler/stgSyn/CoreToStg.hs index d2010a83d4..273cbdb9c1 100644 --- a/compiler/stgSyn/CoreToStg.hs +++ b/compiler/stgSyn/CoreToStg.hs @@ -451,7 +451,7 @@ mkStgAltType bndr alts = case repType (idType bndr) of PolyAlt Nothing -> PolyAlt UbxTupleRep rep_tys -> UbxTupAlt (length rep_tys) - -- NB Nullary unboxed tuples have UnaryRep, and generate a PrimAlt + -- UbxTupAlt includes nullary and and singleton unboxed tuples where _is_poly_alt_tycon tc = isFunTyCon tc |