[Vm-dev] Primitive table support for running older images
bert at freudenbergs.de
Thu Dec 22 15:40:51 UTC 2016
On Thu, Dec 22, 2016 at 3:50 AM, David T. Lewis <lewis at mail.msen.com> wrote:
> Given that the numbered primitive assignments
> > > change over time, and old primitives need to be retired to make room
> > > the new, how best to provide continued support for older images with a
> > > current VM?
In SqueakJS I have a single flag oldPrims to switch between two set of
primitives. This appears to work fine all the way back to Squeak 1.x. The
flag is set based on whether the image format has closures or not.
Just search for "oldPrims" in
- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev