[Vm-dev] VM Maker: VMMaker.oscog-eem.1429.mcz
Eliot Miranda
eliot.miranda at gmail.com
Tue Aug 11 00:08:31 UTC 2015
Hi Nicolas,
> On Aug 10, 2015, at 1:32 PM, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
>
> Hum, but then wait, see suspicious code below
[snip]
>>>>>
>>>>> Item was changed:
>>>>> ----- Method: SimpleStackBasedCogit>>genPrimitiveLessThan (in category 'primitive generators') -----
>>>>> genPrimitiveLessThan
>>>>> + ^self
>>>>> + genSmallIntegerComparison: JumpLess
>>>>> + orDoubleComparison: #JumpFPGreaterOrEqual:
> and shouldn't it be JumpFPGreater ???
No. (a>b) = !(b>=a); (a>b) != !(b>a) if a = b.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150810/c7b94545/attachment.htm
More information about the Vm-dev
mailing list