[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Mixed SmallInteger/Float comparison is inexact in Spur64 when jitted (#417)
Eliot Miranda
notifications at github.com
Mon Aug 26 22:53:41 UTC 2019
One last nit; there is no need to use
self cppIf: objectMemory wordSize > 4 ifTrue: [ ... ] ].
One can simply write
objectMemory wordSize > 4 ifTrue: [ ... ].
This is because VMMaker generates entirely different sources for 64-bit and 32-bit VMs, and so the objectMemory wordSize > 4 test is inlined at source generation time. Reserve cppIf:ifTrue: for things that really are VM-compile-time options, such as whether the VM is being compiled with IMMUTABILITY (read-only) support or not.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/417#issuecomment-525064015
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190826/c32ba6bd/attachment.html>
More information about the Vm-dev
mailing list