[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] b2a2bf: CogVM source as per VMMaker.oscog-eem.3264

Eliot Miranda noreply at github.com
Sun Nov 6 05:35:19 UTC 2022

  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: b2a2bfb8c17ccc4b59144a20e0cc74602de68313
  Author: Eliot Miranda <eliot.miranda at gmail.com>
  Date:   2022-11-05 (Sat, 05 Nov 2022)

  Changed paths:
    M src/plugins/ClipboardExtendedPlugin/ClipboardExtendedPlugin.c
    M src/plugins/Squeak3D/Squeak3D.c
    M src/plugins/VectorEnginePlugin/VectorEnginePlugin.c

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

Fix regression in emission of primitive metadata in plugins that I think was
introduced in 3222 or there-abouts.  The bug is when vmClass is set then a
selector must begin with prim to have metadata generated. I *think* I assigned
vmClass to compute accessor depth correctly for plugin primitives around this
time, but I'm not sure.

The fix is to have VMPluginCodeGenerator override methodNeedsMetadata: and not
insist that the selector begin with 'prim'.

More information about the Vm-dev mailing list