Add a comment about the units of platformWordSize
[ghc.git] / compiler / utils / Platform.hs
index 8252621..76bb386 100644 (file)
@@ -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,