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

commits at source.squeak.org commits at source.squeak.org
Sat Nov 15 19:47:21 UTC 2014


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

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

Name: VMMaker.oscog-eem.935
Author: eem
Time: 15 November 2014, 11:44:43.564 am
UUID: e1096b9f-e01b-4709-b369-18563b884832
Ancestors: VMMaker.oscog-eem.934

Restore the Spur initialization of BaseHeaderSize,
which is still needed for correct C generation.
Provide a 64-bit memory printing routine for
debugging precisely this issue ;-)

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

Item was changed:
  ----- Method: SpurMemoryManager class>>initializeObjectHeaderConstants (in category 'class initialization') -----
  initializeObjectHeaderConstants
  
+ 	BytesPerWord ifNil: [BytesPerWord := 4].  "May get called on fileIn, so supply default"
+ 	BaseHeaderSize := 8 "This is still needed for VM generation."!
- 	BytesPerWord ifNil: [BytesPerWord := 4]  "May get called on fileIn, so supply default"!

Item was added:
+ ----- Method: SpurMemoryManager>>print64BitMemoryFrom:to: (in category 'debug printing') -----
+ print64BitMemoryFrom: start to: end
+ 	<doNotGenerate>
+ 	| wordSize64 address |
+ 	wordSize64 := 8.
+ 	address := start bitAnd: (wordSize64 - 1) bitInvert.
+ 	[address < end] whileTrue:
+ 		[coInterpreter printHex: address; printChar: $:; space; printHex: (self long64At: address); cr.
+ 		 address := address + wordSize64]!



More information about the Vm-dev mailing list