summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmLayout.hs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-09-13 19:12:30 +0100
committerIan Lynagh <ian@well-typed.com>2012-09-13 19:12:30 +0100
commit4279ab5050df28ba7abd79296a788d1ddb9eb5df (patch)
treea8272030704b755e28f99496582fba0b797a048e /compiler/codeGen/StgCmmLayout.hs
parent07c3777105e9e7292b472af9277cf8710492e038 (diff)
downloadhaskell-4279ab5050df28ba7abd79296a788d1ddb9eb5df.tar.gz
Use sIZEOF_* from platformConstants rather than Constants
Diffstat (limited to 'compiler/codeGen/StgCmmLayout.hs')
-rw-r--r--compiler/codeGen/StgCmmLayout.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmLayout.hs b/compiler/codeGen/StgCmmLayout.hs
index 1469554a8b..a7426284a3 100644
--- a/compiler/codeGen/StgCmmLayout.hs
+++ b/compiler/codeGen/StgCmmLayout.hs
@@ -659,7 +659,7 @@ funInfoTable :: DynFlags -> CmmExpr -> CmmExpr
-- in the info table.
funInfoTable dflags info_ptr
| tablesNextToCode dflags
- = cmmOffsetB dflags info_ptr (- stdInfoTableSizeB dflags - sIZEOF_StgFunInfoExtraRev)
+ = cmmOffsetB dflags info_ptr (- stdInfoTableSizeB dflags - sIZEOF_StgFunInfoExtraRev dflags)
| otherwise
= cmmOffsetW dflags info_ptr (1 + stdInfoTableSizeW dflags)
-- Past the entry code pointer