summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CgExpr.lhs
diff options
context:
space:
mode:
authorNorman Ramsey <nr@eecs.harvard.edu>2008-05-03 22:45:14 +0000
committerNorman Ramsey <nr@eecs.harvard.edu>2008-05-03 22:45:14 +0000
commitb71b86cf18374f8011120c92e24ca293986e86ea (patch)
tree142a818fcd8c3b6549f701246efc844fcdba8f37 /compiler/codeGen/CgExpr.lhs
parent4b0d51372d354687f0b2f7b2c2583bed059ce315 (diff)
downloadhaskell-b71b86cf18374f8011120c92e24ca293986e86ea.tar.gz
replace Cmm 'hint' with 'kind'
C-- no longer has 'hints'; to guide parameter passing, it has 'kinds'. Renamed type constructor, data constructor, and record fields accordingly
Diffstat (limited to 'compiler/codeGen/CgExpr.lhs')
-rw-r--r--compiler/codeGen/CgExpr.lhs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/codeGen/CgExpr.lhs b/compiler/codeGen/CgExpr.lhs
index 3f1ec45c77..f22071e2c5 100644
--- a/compiler/codeGen/CgExpr.lhs
+++ b/compiler/codeGen/CgExpr.lhs
@@ -133,13 +133,13 @@ cgExpr (StgOpApp (StgFCallOp fcall _) stg_args res_ty) = do
then assignPtrTemp arg
else assignNonPtrTemp arg
| (arg, stg_arg) <- arg_exprs]
- let arg_hints = zipWith CmmHinted arg_tmps (map (typeHint.stgArgType) stg_args)
+ let arg_hints = zipWith CmmKinded arg_tmps (map (typeHint.stgArgType) stg_args)
{-
Now, allocate some result regs.
-}
(res_reps,res_regs,res_hints) <- newUnboxedTupleRegs res_ty
ccallReturnUnboxedTuple (zip res_reps (map (CmmReg . CmmLocal) res_regs)) $
- emitForeignCall (zipWith CmmHinted res_regs res_hints) fcall
+ emitForeignCall (zipWith CmmKinded res_regs res_hints) fcall
arg_hints emptyVarSet{-no live vars-}
-- tagToEnum# is special: we need to pull the constructor out of the table,