Re: find corresponding local variable entry

Eugene Kuleshov <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
The var value give you variable index in the local vars table. There can be
multiple vars stored under the same index, so you'll have to track ranges.
There is no helper methods, but this logic is not hard to implement in your
visitor or using tree api.

  regards,
  Eugene
 On 2011-04-10 5:56 PM, "Nikolas Nehmer" <[email protected]>
wrote:
> Hi,
>
> I have a question related to local variables. Assume you have a xSTORE
> var operation. What is the best way to find the corresponding entry in
> the local variable table? To the best of my knowledge there is no
> utility method picking the corresponding entry based on the index of the
> xSTORE and its relative position in the bytecode?!
>
> Best regards
> Nikolas
>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.