On Jun 10, 2011, at 5:18 PM, Charles Oliver Nutter wrote:

> John Rose to the rescue... by reversing the order of foldArguments,
> you can post-process the arguments *and* return value of the target.
> See the other thread for an example.

The most complicated bit of assembly code in the HotSpot method handle 
implementation is "ricochet frames", which natively implement foldArguments.  
But it was a good investment, because this particular pattern of MH combination 
is a sort of universal glue for making every other kind of recursive 
combination.

-- John

-- 
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com.
To unsubscribe from this group, send email to 
jvm-languages+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.

Reply via email to