diff options
author | Paolo Capriotti <p.capriotti@gmail.com> | 2012-06-05 16:47:02 +0100 |
---|---|---|
committer | Paolo Capriotti <p.capriotti@gmail.com> | 2012-06-05 16:47:02 +0100 |
commit | 0076786de1c4450743803be8b23a0f3e5c47e4ee (patch) | |
tree | 9b867ef1d1c4aacc5652a7e9f05a940970a1c064 /compiler/codeGen/CgForeignCall.hs | |
parent | eb02ad91b1479f389d26394f3e148ee8e45e4ec4 (diff) | |
parent | 09987de4ece1fc634af6b2b37173b12ed46fdf3e (diff) | |
download | haskell-0076786de1c4450743803be8b23a0f3e5c47e4ee.tar.gz |
Merge remote-tracking branch 'origin/unboxed-tuple-arguments2'
Diffstat (limited to 'compiler/codeGen/CgForeignCall.hs')
-rw-r--r-- | compiler/codeGen/CgForeignCall.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/codeGen/CgForeignCall.hs b/compiler/codeGen/CgForeignCall.hs index 16e77eca35..600bbbe0df 100644 --- a/compiler/codeGen/CgForeignCall.hs +++ b/compiler/codeGen/CgForeignCall.hs @@ -311,4 +311,5 @@ shimForeignCallArg arg expr | otherwise = expr where -- should be a tycon app, since this is a foreign call - tycon = tyConAppTyCon (repType (stgArgType arg)) + UnaryRep rep_ty = repType (stgArgType arg) + tycon = tyConAppTyCon rep_ty |