[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 7d112e: Getting stack and frame pointer is now LLP64 compa...

GitHub noreply at github.com
Sun Jul 17 20:49:47 UTC 2016


  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 7d112e13fcbb25f2ea30ea9f207e71253acc5f70
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/7d112e13fcbb25f2ea30ea9f207e71253acc5f70
  Author: nicolas-cellier-aka-nice <nicolas.cellier.aka.nice at gmail.com>
  Date:   2016-07-17 (Sun, 17 Jul 2016)

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

  Log Message:
  -----------
  Getting stack and frame pointer is now LLP64 compatible

unsigned long is too short in LLP64.
This change is compatible with LP64 where usqIntptr_t is defined as unsigned long.


  Commit: c89dd744ec5ec0144b225f2840aa6d60348f6220
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/c89dd744ec5ec0144b225f2840aa6d60348f6220
  Author: nicolas-cellier-aka-nice <nicolas.cellier.aka.nice at gmail.com>
  Date:   2016-07-17 (Sun, 17 Jul 2016)

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

  Log Message:
  -----------
  Make positiveMachineIntegerValue prototype LLP64 compatible.

Apply similar change on signed version.
Most uses are for returning a machine word, aka a usqIntptr_t,, a few for getting a SmallInteger value in Spur (where usqInt matches usqIntptr_t)
This change shall be applied on VMMaker side in order to be fully LLP64 compatible.
It is compatible with existing configurations where usqIntptr_t is defined as unsigned long.

Reminder: we do not use usqInt for the aim of running 32bits image on 64bits VM.


  Commit: 08cc27d481fc29b30eca854dcae9fd0e9147d8ce
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/08cc27d481fc29b30eca854dcae9fd0e9147d8ce
  Author: nicolas-cellier-aka-nice <nicolas.cellier.aka.nice at gmail.com>
  Date:   2016-07-17 (Sun, 17 Jul 2016)

  Changed paths:
    M platforms/win32/vm/sqWin32Threads.c

  Log Message:
  -----------
  Make win32 threads LLP64 compatible


Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/37a8c96d9737...08cc27d481fc


More information about the Vm-dev mailing list