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

commits at source.squeak.org commits at source.squeak.org
Sat Nov 22 02:17:01 UTC 2014


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

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

Name: VMMaker.oscog-eem.951
Author: eem
Time: 21 November 2014, 6:14:25.455 pm
UUID: f669df37-8b1c-41de-b9ab-a6626a19f914
Ancestors: VMMaker.oscog-eem.950

Fix positive64BitIntegerFor: by fixing new
generateSignedShiftRight:on:indent:.
Symptom is LargePositiveInteger results from
primGetPosition: for SmallInteger values.

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

Item was changed:
  ----- Method: CCodeGenerator>>generateSignedShiftRight:on:indent: (in category 'C translation') -----
  generateSignedShiftRight: msgNode on: aStream indent: level
  	"Generate the C code for >>> onto the given stream."
  
+ 	(self is64BitIntegralVariable: msgNode receiver typeInto: [:t|])
+ 		ifTrue:
+ 			[aStream nextPutAll: '((sqLong) ']
+ 		ifFalse:
+ 			[aStream nextPutAll: '((sqInt) '].
- 	aStream nextPutAll: '((sqInt) '.
  	self emitCExpression: msgNode receiver on: aStream.
  	aStream nextPutAll: ') >> '.
  	self emitCExpression: msgNode args first on: aStream!



More information about the Vm-dev mailing list