need to know maxsLocals before code transformation
"luc peuvrier at home" <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <15DF642405E44F7C8FD5532E176044FC@peuvrierluc> |
My code transformation of method's code needs to add locals variable to exixting ones. To do that I need to know the original maximum number of local variables for the method. The only way I found to obtain it is to do a byte code visit. To avoid this visit I think that ClassVisitor#visitMethod should have maxStack and maxLocals arguments. What is your point of view ? Regards Luc
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