[Vm-dev] VM Maker: VMMaker-dtl.229.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Wed Apr 27 13:04:52 UTC 2011

Dave Lewis uploaded a new version of VMMaker to project VM Maker:

==================== Summary ====================

Name: VMMaker-dtl.229
Author: dtl
Time: 26 April 2011, 7:02:44 am
UUID: c1d30608-3088-4db7-20fa-2af7a46c1508
Ancestors: VMMaker-dtl.228

VMMaker 4.4.16

Add VMBasicConstants pool to InterpreterPlugin.

Fix bug in SlangTest>>setUp, and update comments.

Document the code generation optimization in  CCodeGenerator>>localizeGlobalVariables with a unit test. Currently this optimization produces unexpected (but correct) results in translating Interpreter>>primitiveFailFor: 

Background: If a method makes reference to an instance variable, and if this is the only method containing a reference to that variable, then the C translator will produce a local variable declaration in the generated function, and no global declaration will appear in the generated source file. This optimization is applied after inlining has been performed, so there are legitimate cases where a variable must be an instance variable referenced by two methods, but can be made local if those methods are inlined into a single method and only one method reference to the variable remains. See ObjectMemory>>markAndSweep: for an example.

More information about the Vm-dev mailing list