wORD_SIZE vs platformWordSize of targetPlatform
Simon Marlow
marlowsd at gmail.com
Tue Sep 2 12:07:05 UTC 2014
On 08/08/2014 13:15, Johan Tibell wrote:
> We seem to have two ways to get the same piece of information. We can
> get the target (?) word size as wORD_SIZE but there's also the
> platformWordSize field in the Platform data type, which is held as
> targetPlatform in DynFlags. Which one should I use? Most code uses
> wORD_SIZE.
We should kill one or the other, probably platformWordSize.
Cheers,
Simon
More information about the ghc-devs
mailing list