VM Maker Inbox: VMMaker.oscog-nice.2546.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VM Maker Inbox: VMMaker.oscog-nice.2546.mcz

commits-2
 
Nicolas Cellier uploaded a new version of VMMaker to project VM Maker Inbox:
http://source.squeak.org/VMMakerInbox/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]!