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

commits at source.squeak.org commits at source.squeak.org
Wed Aug 28 23:21:57 UTC 2019

Nicolas Cellier uploaded a new version of VMMaker to project VM Maker Inbox:

==================== 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') -----
  	^self getPrimitiveDoMixedArithmetic
  		ifTrue: [self
  				genSmallIntegerComparison: JumpLessOrEqual
  				orDoubleComparison: #JumpFPGreaterOrEqual:
+ 				invert: true]
- 				invert: false]
  		ifFalse: [self genSmallIntegerComparison: JumpLessOrEqual]!

More information about the Vm-dev mailing list