summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CgStackery.lhs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-09-13 21:22:04 +0100
committerIan Lynagh <ian@well-typed.com>2012-09-13 21:22:04 +0100
commit568fdb14cdb9bed064c96decf1420bf8d9a37ff0 (patch)
tree271704d2eb5446e9cc45e43051af17a44b5bfcfb /compiler/codeGen/CgStackery.lhs
parent4279ab5050df28ba7abd79296a788d1ddb9eb5df (diff)
downloadhaskell-568fdb14cdb9bed064c96decf1420bf8d9a37ff0.tar.gz
Use oFFSET_* from platformConstants rather than Constants
Diffstat (limited to 'compiler/codeGen/CgStackery.lhs')
-rw-r--r--compiler/codeGen/CgStackery.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/CgStackery.lhs b/compiler/codeGen/CgStackery.lhs
index 51c0b9095d..7c4caf4e1d 100644
--- a/compiler/codeGen/CgStackery.lhs
+++ b/compiler/codeGen/CgStackery.lhs
@@ -322,7 +322,7 @@ emitSpecPushUpdateFrame lbl frame_addr updatee = do
off_updatee :: DynFlags -> ByteOff
off_updatee dflags
- = fixedHdrSize dflags * wORD_SIZE + oFFSET_StgUpdateFrame_updatee
+ = fixedHdrSize dflags * wORD_SIZE + (oFFSET_StgUpdateFrame_updatee dflags)
\end{code}