Re: LocalVariableSorter
Eugene Kuleshov <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
Nikolas, If you need your new variable in the local var table debug info, then you should call visitLocalVariable() method regards, Eugene On Wed, Sep 15, 2010 at 12:26 PM, Nikolas Nehmer <[email protected]> wrote: > Hi, > > I have a question regarding the LocalVariableSorter. I`m trying to add an > additional local variable calling the newLocal method. Looking at the > localVariable entries in the resulting bytecode, one can see that the > variable indexes are "shifted" according to the added variable - but there > is no additional entry added to the localVariable table. If I'm trying to > access the added variable at the corresponding index position, the index > within the store (let's asume it's a store statement that I'm using to > access the newly defined variable) statement is shifted (by some magic) to a > close value that is present (index 1 --> index 2) in the local variable > table. Any ideas? > > Best regards > Nikolas > > > -- > You receive this message as a subscriber of the [email protected] mailing list. > To unsubscribe: mailto:[email protected] > For general help: mailto:[email protected]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > >
message-footer.txt
(text/plain, 238 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws