[Vm-dev] Re: [OpenSmalltalk/opensmalltalk-vm] 931559: Replace another (UINT) cast by (usqIntptr_t) for L...

Henrik Sperre Johansen henrik.s.johansen at veloxit.no
Fri Jul 8 12:46:54 UTC 2016

Wouldn't either way work?
The struct field is a UINT ID number, not a pointer, so truncating the
pointer to use as id would be as good as putting a 64bit pointer in the
struct, and then overwriting the last bits by subsequently setting uFlags,
as long as they both consistently yield the same value in uID field based on

View this message in context: http://forum.world.st/OpenSmalltalk-opensmalltalk-vm-931559-Replace-another-UINT-cast-by-usqIntptr-t-for-L-tp4905547p4905579.html
Sent from the Squeak VM mailing list archive at Nabble.com.

More information about the Vm-dev mailing list