I pushed a lot more testing and implementation code for the reference
implementation. Finally permuteArguments works, as do all the
variations of varargs processing.
Here's the updated javadoc; it's getting better:
http://cr.openjdk.java.net/~jrose/pres/indy-javadoc-mlvm/
I added filterArguments, since I remember people asking for it during
last year's Summit. Such a simple use case (single argument
transformation with a unary function) is too awkward to implement in
terms of foldArguments (requires argument dropping/reordering).
-- John
P.S. I also added something called dynamicInvoker. It is a simple
thing which turns a CallSite into a simulated invokedynamic
instruction; this rounds out the Lookup.find{Static,*} functionality
to include the new invoke instruction. Not sure if it is the right
thing, though.
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev