summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CgProf.hs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-09-17 20:21:06 +0100
committerIan Lynagh <ian@well-typed.com>2012-09-17 21:20:25 +0100
commit9224e48e4f9534e1f9d02099523c8f9c3acc70c0 (patch)
tree77c153fe4b501bf4fa9289cb24f0814fd448fb12 /compiler/codeGen/CgProf.hs
parente76fa6999edab45baccc572bff5b0abe7abe3405 (diff)
downloadhaskell-9224e48e4f9534e1f9d02099523c8f9c3acc70c0.tar.gz
Remove some CPP
Diffstat (limited to 'compiler/codeGen/CgProf.hs')
-rw-r--r--compiler/codeGen/CgProf.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/codeGen/CgProf.hs b/compiler/codeGen/CgProf.hs
index 6d87ee7127..1c78dd8ec6 100644
--- a/compiler/codeGen/CgProf.hs
+++ b/compiler/codeGen/CgProf.hs
@@ -307,8 +307,8 @@ ldvEnter cl_ptr = do
(stmtC (CmmStore ldv_wd new_ldv_wd))
loadEra :: DynFlags -> CmmExpr
-loadEra dflags = CmmMachOp (MO_UU_Conv cIntWidth (wordWidth dflags))
- [CmmLoad (mkLblExpr (mkCmmDataLabel rtsPackageId $ fsLit("era"))) cInt]
+loadEra dflags = CmmMachOp (MO_UU_Conv (cIntWidth dflags) (wordWidth dflags))
+ [CmmLoad (mkLblExpr (mkCmmDataLabel rtsPackageId $ fsLit("era"))) (cInt dflags)]
ldvWord :: DynFlags -> CmmExpr -> CmmExpr
-- Takes the address of a closure, and returns