summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmUtils.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-06-06 22:34:25 +0100
committerIan Lynagh <igloo@earth.li>2012-06-06 22:34:25 +0100
commit5f7c1a7d95eff21af938a65f4ce462049fc70ff9 (patch)
tree4cab5b1aabb6231acb80c82a866dcb5dfcad5eef /compiler/codeGen/StgCmmUtils.hs
parentb1f40f1416593355ceb3ea70e7b58a97e0f42579 (diff)
parent0076786de1c4450743803be8b23a0f3e5c47e4ee (diff)
downloadhaskell-5f7c1a7d95eff21af938a65f4ce462049fc70ff9.tar.gz
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Diffstat (limited to 'compiler/codeGen/StgCmmUtils.hs')
-rw-r--r--compiler/codeGen/StgCmmUtils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmUtils.hs b/compiler/codeGen/StgCmmUtils.hs
index c3327138b3..dda2260a04 100644
--- a/compiler/codeGen/StgCmmUtils.hs
+++ b/compiler/codeGen/StgCmmUtils.hs
@@ -458,7 +458,7 @@ newUnboxedTupleRegs res_ty
; ASSERT( regs `equalLength` reps )
return (regs, map primRepForeignHint reps) }
where
- ty_args = tyConAppArgs (repType res_ty)
+ UbxTupleRep ty_args = repType res_ty
reps = [ rep
| ty <- ty_args
, let rep = typePrimRep ty