[Vm-dev] VM Maker: VMMaker.oscog-eem.853.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Aug 9 21:13:27 UTC 2014


Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.853.mcz

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

Name: VMMaker.oscog-eem.853
Author: eem
Time: 9 August 2014, 2:10:39.61 pm
UUID: 8c3cd406-d31e-43d2-b69d-b8ef74b556dc
Ancestors: VMMaker.oscog-eem.852

Fix numSlotsForBytes: for simulation.
Provide compiledMethodFormatForNumBytes: for munger.

=============== Diff against VMMaker.oscog-eem.852 ===============

Item was added:
+ ----- Method: SpurMemoryManager>>compiledMethodFormatForNumBytes: (in category 'header format') -----
+ compiledMethodFormatForNumBytes: numBytes
+ 	^self firstCompiledMethodFormat + (8 - numBytes bitAnd: self wordSize - 1)!

Item was changed:
  ----- Method: SpurMemoryManager>>numSlotsForBytes: (in category 'header format') -----
  numSlotsForBytes: numBytes
+ 	^numBytes + (self wordSize - 1) // self wordSize!
- 	^numBytes + (self wordSize - 1) / self wordSize!



More information about the Vm-dev mailing list