summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CgUtils.hs
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2007-08-09 15:37:37 +0000
committersimonpj@microsoft.com <unknown>2007-08-09 15:37:37 +0000
commit1c5499d4d5d506ce0cc971e98c09bfbf7bc290a1 (patch)
treeb615619708fc0fbb334389aea9bf33cd7c0d8bcf /compiler/codeGen/CgUtils.hs
parent474b582b68ea9289f3da4355da816164138604b0 (diff)
downloadhaskell-1c5499d4d5d506ce0cc971e98c09bfbf7bc290a1.tar.gz
Rename a constructor CmmForeignCall to CmmCallee, and tidy Cmm code
This patch should have no effect; it's mainly comments, layout, plus this contructor name change.
Diffstat (limited to 'compiler/codeGen/CgUtils.hs')
-rw-r--r--compiler/codeGen/CgUtils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/CgUtils.hs b/compiler/codeGen/CgUtils.hs
index 19f5eabb2f..9ebcf90e30 100644
--- a/compiler/codeGen/CgUtils.hs
+++ b/compiler/codeGen/CgUtils.hs
@@ -358,7 +358,7 @@ emitRtsCall' res fun args vols safe = do
stmtsC caller_load
where
(caller_save, caller_load) = callerSaveVolatileRegs vols
- target = CmmForeignCall fun_expr CCallConv
+ target = CmmCallee fun_expr CCallConv
fun_expr = mkLblExpr (mkRtsCodeLabel fun)
-----------------------------------------------------------------------------