summaryrefslogtreecommitdiff
path: root/compiler/utils/Platform.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-07-24 21:13:00 +0100
committerIan Lynagh <igloo@earth.li>2012-07-24 21:13:00 +0100
commitbd0649f78f4a098172142cc0536b5b4afed27a9f (patch)
tree5b49331566a663870d2abd516c01f240e4f018e0 /compiler/utils/Platform.hs
parentfecb6afe606080ea0f57ddf7e92066029164654f (diff)
downloadhaskell-bd0649f78f4a098172142cc0536b5b4afed27a9f.tar.gz
Add a comment about the units of platformWordSize
Diffstat (limited to 'compiler/utils/Platform.hs')
-rw-r--r--compiler/utils/Platform.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/utils/Platform.hs b/compiler/utils/Platform.hs
index 8252621661..76bb38686f 100644
--- a/compiler/utils/Platform.hs
+++ b/compiler/utils/Platform.hs
@@ -21,6 +21,8 @@ data Platform
= Platform {
platformArch :: Arch,
platformOS :: OS,
+ -- Word size in bytes (i.e. normally 4 or 8,
+ -- for 32bit and 64bit platforms respectively)
platformWordSize :: {-# UNPACK #-} !Int,
platformHasGnuNonexecStack :: Bool,
platformHasIdentDirective :: Bool,