[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 5160d1: Fix a regression in FFI (can't pass single float o...

GitHub noreply at github.com
Thu Aug 18 00:16:31 UTC 2016


  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 5160d1803ca8a4b60914ed193a0f89dc6629a7b9
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/5160d1803ca8a4b60914ed193a0f89dc6629a7b9
  Author: Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>
  Date:   2016-08-18 (Thu, 18 Aug 2016)

  Changed paths:
    M platforms/Cross/vm/sqMemoryAccess.h

  Log Message:
  -----------
  Fix a regression in FFI (can't pass single float on the stack)

The macros storeSingleFloatAtPointerfrom and fetchSingleFloatAtPointerinto are used with double precision values.
We cannot naively memcpy without first copying into a single float...




More information about the Vm-dev mailing list