[Vm-dev] Re: New Window VM (Closures, FT2Plugin, Large Cursors)
David T. Lewis
lewis at mail.msen.com
Sat Mar 7 15:29:30 UTC 2009
On Sat, Mar 07, 2009 at 01:41:16AM -0800, brad fowlow wrote:
> I think the image format was incremented for closures.
> Does the 3.11.1 have the same closure support,
> and was its the image-format number check adjusted,
> using the same conventions as the ones in Andreas ?
The image format number is changed if and only if the compiler
has actually generated some of the new closure bytecodes in your
image. If you run an image without closure support on the new VM,
the image format number will not be modified. The logic for setting
and checking the image format number is all included in class
Interpreter (not in any external packages or support code).
The image format numbers now in use are:
6502 ==> normal 32-bit image (Smalltalk wordSize == 4)
6504 ==> 32-bit image with closures
68000 ==> 64-bit image (Smalltalk wordSize == 8)
68002 ==> 64-bit image with closures
More information about the Vm-dev