[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 28ded8: CogVM source as per VMMaker.oscog-eem.3080

Eliot Miranda noreply at github.com
Thu Sep 30 21:20:45 UTC 2021

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

  Changed paths:
    M src/plugins/FilePlugin/FilePlugin.c
    M src/plugins/Matrix2x3Plugin/Matrix2x3Plugin.c
    M src/plugins/MiscPrimitivePlugin/MiscPrimitivePlugin.c
    M src/plugins/ScratchPlugin/ScratchPlugin.c
    M src/plugins/Squeak3D/Squeak3D.c
    M src/plugins/UnixOSProcessPlugin/UnixOSProcessPlugin.c
    M src/spur64.stack/gcc3x-interp.c
    M src/spur64.stack/interp.c

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

Fix bad bug in comptation of accessor depths for primitives.  The algorithm
was fooled by code which assigned through an oject accessor, e.g.
	bm := interpreterProxy arrayValueOf: (interpreterProxy stackValue: 1).
as opposed to
	bmOop := interpreterProxy stackValue: 1.
	bm := interpreterProxy arrayValueOf: bmOop.

In any case rewrite primitiveCompressToByteArray &
primitiveDecompressFromByteArray to avoid the repeated slow stack accesses.

Generate fresh src/spur64.stack code because these had a modified Monticello
package stamp.

More information about the Vm-dev mailing list