diff options
author | Ian Lynagh <igloo@earth.li> | 2012-07-24 21:13:00 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-07-24 21:13:00 +0100 |
commit | bd0649f78f4a098172142cc0536b5b4afed27a9f (patch) | |
tree | 5b49331566a663870d2abd516c01f240e4f018e0 /compiler/utils/Platform.hs | |
parent | fecb6afe606080ea0f57ddf7e92066029164654f (diff) | |
download | haskell-bd0649f78f4a098172142cc0536b5b4afed27a9f.tar.gz |
Add a comment about the units of platformWordSize
Diffstat (limited to 'compiler/utils/Platform.hs')
-rw-r--r-- | compiler/utils/Platform.hs | 2 |
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, |