>From Rémi
Anyway, you can optimize the last instructions, <= should return a
boolean
so the sequence should be:
ldc 41000000
aload 1
indy <= (ILObject;)Z
if_eq LABEL 1
I am not sure how to handle this in a Smalltalk envrionment. All of the
objects are instances of the same
java type so <= is a method which returns an RtObject which is the
singular instance of true. I have to
compare that return to 'true' to get what the if bytecode wants.
<= could have been a block making type inference more interesting.
thanks for the thoughts
mark
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev