[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 01:02:54 UTC 2011


Dave Lewis uploaded a new version of VMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/VMMaker-dtl.229.mcz

==================== 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