[Vm-dev] VM Maker: VMMaker.oscog-nice.1800.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 12 22:16:57 UTC 2016


Nicolas Cellier uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-nice.1800.mcz

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

Name: VMMaker.oscog-nice.1800
Author: nice
Time: 13 April 2016, 12:14:39.42 am
UUID: 4f79995a-0cf7-4f28-b68b-1d97cb711c2e
Ancestors: VMMaker.oscog-nice.1799

Double oops, and fix parenthesis slip

=============== Diff against VMMaker.oscog-nice.1799 ===============

Item was changed:
  ----- Method: CCodeGenerator>>cLiteralForInteger:hex: (in category 'C code generator') -----
  cLiteralForInteger: anInteger hex: aBoolean
  	| printString |
  	printString := aBoolean
  		ifTrue: [anInteger positive
+ 			ifTrue: ['0x' , (anInteger printStringBase: 16)]
+ 			ifFalse: ['-0x' , (anInteger negated printStringBase: 16)]]
- 			ifTrue: ['0x' , anInteger printStringBase: 16]
- 			ifFalse: ['-0x' , anInteger negated printStringBase: 16]]
  		ifFalse: [anInteger printString].
  	^anInteger > 16rFFFFFFFF
  			ifTrue: [printString, ObjectMemory unsignedLongLongSuffix]
  			ifFalse: [anInteger < 16r7FFFFFFF
  					ifTrue: [printString]
  					ifFalse: [printString, ObjectMemory unsignedIntegerSuffix]]!



More information about the Vm-dev mailing list