[Vm-dev] MemoryAccess added as separate package in VMMaker SqueakSource project

David T. Lewis lewis at mail.msen.com
Sat Dec 13 22:24:20 UTC 2008

I made a separate package for MemoryAccess (Slang implementation of
sqMemoryAccess.h) and uploaded it to the VMMaker project on SqueakSource.
In the VMMaker project, VMMaker-dtl.110.mcz contains all prerequisites
for MemoryAccess-dtl.1.mcz.

Some support code patches are required to use this for Unix VM generation
(patches attached). See also http://wiki.squeak.org/squeak/6081 for an
overview that may be useful if merging into another VMMaker code base.

MemoryAccess makes no changes to generated VM code until it is enabled
("MemoryAccess enable"), so it can be safely loaded into an image and
used as needed.

I find that using MemoryAccess helps the C compiler find type casting
errors, and produces code that is easier to follow in a debugger. On my
computer, there is no performance difference between the MemoryAccess
slang versus CPP macros in sqMemoryAccess.h.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: MemoryAccessPlatformDiffs.zip
Type: application/zip
Size: 3522 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20081213/fc010129/MemoryAccessPlatformDiffs.zip

More information about the Vm-dev mailing list