[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 32c98b: Make squeak types
LLP64 compatible
GitHub
noreply at github.com
Thu Jul 7 16:51:47 UTC 2016
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 32c98b1cee90dbb9398eacb421e453798907738a
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/32c98b1cee90dbb9398eacb421e453798907738a
Author: Nicolas Cellier <nicolas.cellier at sirehna.com>
Date: 2016-07-07 (Thu, 07 Jul 2016)
Changed paths:
M platforms/Cross/vm/sqMemoryAccess.h
Log Message:
-----------
Make squeak types LLP64 compatible
When sizeof(long) < sizeof(void *) it is necessary to declare sqInt as long long rather than long
Otherwise, a pointer would not fit into an sqInt
Thus we must inquire SIZEOF_LONG
Same for sqLong: it must be at least 64 bits, so we must inquire SIZEOF_LONG rather than SIZEOF_VOID_P
SIZEOF_LONG should be defined in platform dependent config.h
But we provide a fallback if it's not the case.
Commit: 706b462659bb0cb76a144628230744f3d1751f28
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/706b462659bb0cb76a144628230744f3d1751f28
Author: Nicolas Cellier <nicolas.cellier at sirehna.com>
Date: 2016-07-07 (Thu, 07 Jul 2016)
Changed paths:
M platforms/win32/vm/config.h
Log Message:
-----------
Infer sizeof void pointer and sizeof long for win32 case (X64 compatibility)
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/08822ce610c2...706b462659bb
More information about the Vm-dev
mailing list