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

commits at source.squeak.org commits at source.squeak.org
Wed Sep 4 19:30:47 UTC 2019


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

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

Name: VMMaker.oscog-nice.2546
Author: nice
Time: 29 August 2019, 1:17:48.054344 am
UUID: a6a8d0a3-4f7c-4927-85c1-e99f2c7b2591
Ancestors: VMMaker.oscog-nice.2545

Grrr, fixup
What this invert: dance really serve for?
Due to this, I reread the method twice or thrice, and still make a mistake from time to time...

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

Item was changed:
  ----- Method: CogObjectRepresentation>>genPrimitiveLessOrEqual (in category 'primitive generators') -----
  genPrimitiveLessOrEqual
  	^self getPrimitiveDoMixedArithmetic
  		ifTrue: [self
  				genSmallIntegerComparison: JumpLessOrEqual
  				orDoubleComparison: #JumpFPGreaterOrEqual:
+ 				invert: true]
- 				invert: false]
  		ifFalse: [self genSmallIntegerComparison: JumpLessOrEqual]!



More information about the Vm-dev mailing list