[squeak-dev] The Trunk: SystemReporter-dtl.20.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Nov 8 04:36:35 UTC 2012


David T. Lewis uploaded a new version of SystemReporter to project The Trunk:
http://source.squeak.org/trunk/SystemReporter-dtl.20.mcz

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

Name: SystemReporter-dtl.20
Author: dtl
Time: 7 November 2012, 11:35:58.387 pm
UUID: fb07b2ef-d22a-4054-a266-1e94e274f3ef
Ancestors: SystemReporter-cmm.19

Display image format and word size in #reportImage:

=============== Diff against SystemReporter-cmm.19 ===============

Item was changed:
  ----- Method: SystemReporter>>reportImage: (in category 'reporting') -----
  reportImage: aStream
  	self header: 'Image' on: aStream.
  	aStream 
  		nextPutAll: Smalltalk image imageName; cr;
  		nextPutAll: SystemVersion current version; cr;
  		nextPutAll: Smalltalk image lastUpdateString; cr;
+ 		nextPutAll: Smalltalk image currentChangeSetString; cr.
+ 	[ | imageFormat bitsPerWord |
+ 	imageFormat := Smalltalk image imageFormatVersion.
+ 	bitsPerWord := Smalltalk image wordSize * 8.
+ 	aStream nextPutAll: 'Image format ';
+ 			nextPutAll: imageFormat asString;
+ 			nextPutAll: ' (';
+ 			nextPutAll: bitsPerWord asString;
+ 			nextPutAll: ' bit)'; cr]
+ 		on: Warning
+ 		do: ["primitive not present in VM"].
- 		nextPutAll: Smalltalk image currentChangeSetString; cr
  !



More information about the Squeak-dev mailing list