[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] a11109: Fix generation of left shift in FFI plugin

GitHub noreply at github.com
Thu Aug 18 19:48:30 UTC 2016

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

  Changed paths:
    M src/plugins/SqueakFFIPrims/ARM32FFIPlugin.c
    M src/plugins/SqueakFFIPrims/IA32FFIPlugin.c
    M src/plugins/SqueakFFIPrims/X64SysVFFIPlugin.c
    M src/plugins/SqueakFFIPrims/X64Win64FFIPlugin.c

  Log Message:
  Fix generation of left shift in FFI plugin

If applied on 32 bits constants in a 64bits VM,
left shift might overflow (or have undefined behavior)

More information about the Vm-dev mailing list