Re: wORD_SIZE vs platformWordSize of targetPlatform

2014-09-02 Thread Simon Marlow
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?

wORD_SIZE vs platformWordSize of targetPlatform

2014-08-08 Thread Johan Tibell
Hi, 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. -- Johan