On 02/02/2012 04:45 AM, Mark Roos wrote:
> From Rémi
> Anyway, you can optimize the last instructions, <= should
> return a boolean
>so the sequence should be:
>
>ldc 4100
>aload 1
>indy <= (ILObject;)Z
>if_eq LABEL 1
>
> I am not sure how to han
Nice tool charles.
When I started the mh direction was hard for me to get right. Having this
along with Rémi's cookbook would have made it go a lot faster.
OF course now my mind has converted itself to thinking that the mh order
is
normal.
mark___
m
Rémi your comment
The idea is just to propagate the type you need if you can.
So
for a = 2 <= 3, '<=' will return a RtObject but
for if (2 <= 3), '<=' will return a boolean because it's called in
an if.
Ah yes,
this is something that ST compilers do and I think is a good idea.
Basically
Yes, it has been an interesting mental exercise to convert from
InvokeBinder to MHs ("up") and from MHs to InvokeBinder ("down"). I've
converted parts of JRuby mostly because I know I'll be doing more
handle-juggling in the future and I keep making the same dumb mistakes
patching back from the targ