Coming change to dropArguments?

Mark Roos mroos at roos.com
Wed Apr 6 11:52:01 PDT 2011


In reading John's blog I saw a mention about changing dropArguments, 
perhaps providing  a simpler version?
I would like that.

In my code dropArguments is used to drop all but the first argument before 
a bind and test for the
test branch of guardWtihTest.  Mine is a special case where all of the 
arguments are the same type
and 'this' is the first argument ( for the purpose of the test). 

It works fine except I have to create the array of types which are to be 
dropped.  No big deal but it 
does seem like it adds complexity that is not necessary.

In thinking about it what would be nice would be to have an 
'extractSingleArgument' like api.  Then
my test branch would be;   extract, bind, test.  Very clear and inline and 
I could chose the argument
to compare.

Perhaps there is something like this already?

thanks
mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110406/bf3de764/attachment.html 


More information about the mlvm-dev mailing list