<div dir="ltr">Hi Mark,<div>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 <a href="https://bugs.java.com">https://bugs.java.com</a></div><div><br></div><div>Regards, Chen</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Nov 29, 2024 at 5:54 PM Mark Roberts <<a href="mailto:markro@cs.washington.edu">markro@cs.washington.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-8465366865176073937"><div lang="EN-US" style="overflow-wrap: break-word;"><div class="m_-8465366865176073937WordSection1"><p class="MsoNormal">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?</p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks,</p><p class="MsoNormal">Mark</p><p class="MsoNormal"> </p></div></div>
</div></blockquote></div>