[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 61e6b0: CogVM source as per VMMaker.oscog-eem.3074

Eliot Miranda noreply at github.com
Wed Sep 22 16:46:41 UTC 2021

  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 61e6b0ef5287cf36e42bf47ed7ec568367f608fc
  Author: Eliot Miranda <eliot.miranda at gmail.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M platforms/iOS/vm/Common/Classes/sqSqueakMainApp.m
    M platforms/iOS/vm/Common/Classes/sqSqueakMainApplication.m
    M platforms/iOS/vm/OSX/sqSqueakOSXApplication.m
    M src/spur32.cog/cointerp.c
    M src/spur32.cog/cointerp.h
    M src/spur32.cog/gcc3x-cointerp.c
    M src/spur32.sista/cointerp.c
    M src/spur32.sista/cointerp.h
    M src/spur32.sista/gcc3x-cointerp.c
    M src/spur64.cog/cointerp.c
    M src/spur64.cog/cointerp.h
    M src/spur64.cog/gcc3x-cointerp.c
    M src/spur64.sista/cointerp.c
    M src/spur64.sista/cointerp.h
    M src/spur64.sista/gcc3x-cointerp.c
    M src/v3.cog/cointerp.c
    M src/v3.cog/cointerp.h
    M src/v3.cog/gcc3x-cointerp.c

  Log Message:
  CogVM source as per VMMaker.oscog-eem.3074

Fix bad bug in justActivateNewMethod:.  If newMethod was cogged and the method
must be activated as an interpreter method (ie primitiveFailForFFIException:at:)then the old code did not access the true methodHeader, causing a crash.

Eliminate unnecessary instructionPointer casts; it is unsigned.

On Mac reorganize setting signals to eliminate unnecessary call in stack VMs
and add a secret option to cause the VM to wait for a debugger to attach on
receiving a sigsegv (a limitation of lldb on MACH). This allowed the above issue
to be debugged.

More information about the Vm-dev mailing list