summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmUtils.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-06-07 12:10:38 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-06-07 12:10:38 +0100
commit13602a465f8e8fcd530036a279abf50e4186c06c (patch)
tree4e0b2d4b34ca4be5f63381be4bc8e564243c76a0 /compiler/codeGen/StgCmmUtils.hs
parent07a274072fc945a303ae3257b3035b74bd858f70 (diff)
parentb8e0074794e085fdc2271f39aec92a0b472c6b46 (diff)
downloadhaskell-13602a465f8e8fcd530036a279abf50e4186c06c.tar.gz
Merge branch 'master' of http://darcs.haskell.org/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