CodeLocalsShifter
Chen Liang
liangchenblue at gmail.com
Sat Nov 30 01:15:47 UTC 2024
Hi Mark,
Unfortunately, I think you have to write your own CodeTransfrom to shift by
a fixed number; CodeLocalsShifter is intended to avoid conflicts between
new variables and the required variables from method parameters. We can
consider exposing a new method to create a fixed-slots CodeLocalsShifter,
if you make an argument here and send an enhancement to
https://bugs.java.com
Regards, Chen
On Fri, Nov 29, 2024 at 5:54 PM Mark Roberts <markro at cs.washington.edu>
wrote:
> CodeLocalsShifter seems to shift the locals down a variable number based
> on the number of current locals. How do I shift the locals down a fixed
> number that I designate?
>
>
>
> Thanks,
>
> Mark
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20241129/5f9652c3/attachment.htm>
More information about the classfile-api-dev
mailing list