summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmForeign.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-08-28 16:09:50 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-08-31 16:43:58 +0100
commitde3a8f7631b5276c30c90a256e8135a8ff3095e7 (patch)
tree4c90507007f4ead15548f2002a0ff5d237f95a6e /compiler/codeGen/StgCmmForeign.hs
parent8aabe8d06f7202c9a6cd1133e0b1ebc81338eed9 (diff)
downloadhaskell-de3a8f7631b5276c30c90a256e8135a8ff3095e7.tar.gz
Cleanup: add mkIntExpr and zeroExpr utils
Diffstat (limited to 'compiler/codeGen/StgCmmForeign.hs')
-rw-r--r--compiler/codeGen/StgCmmForeign.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmForeign.hs b/compiler/codeGen/StgCmmForeign.hs
index 5a717bbc65..cdedd1243c 100644
--- a/compiler/codeGen/StgCmmForeign.hs
+++ b/compiler/codeGen/StgCmmForeign.hs
@@ -339,7 +339,7 @@ openNursery = catAGraphs [
(CmmMachOp mo_wordMul [
CmmMachOp (MO_SS_Conv W32 wordWidth)
[CmmLoad nursery_bdescr_blocks b32],
- CmmLit (mkIntCLit bLOCK_SIZE)
+ mkIntExpr bLOCK_SIZE
])
(-1)
)