wORD_SIZE vs platformWordSize of targetPlatform

8 Aug
2014
8 Aug
'14
11:15 a.m.
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

2 Sep
2 Sep
12:07 p.m.
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
3960
Age (days ago)
3985
Last active (days ago)
1 comments
2 participants
participants (2)
-
Johan Tibell
-
Simon Marlow