Re: Using COMPUTE_FRAMES only for some methods
Remi Forax <[email protected]> Wed, 6 Sep 2017 19:26:43 +0200 (CEST)
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
Hi Ross, there is a way to cut&paste the content of existing methods if there is no transformation in between, see http://asm.ow2.org/asm50/javadoc/user/org/objectweb/asm/ClassWriter.html#ClassWriter-org.objectweb.asm.ClassReader-int- in that case the frames/maxs will not be recomputed. cheers, Rémi > De: "Ross Allan" <[email protected]> > À: "asm" <[email protected]> > Envoyé: Mercredi 6 Septembre 2017 19:10:32 > Objet: [asm] Using COMPUTE_FRAMES only for some methods > Hi, > Often when transforming a class only some methods' control flow is modified, so > most methods' frames can be left alone. > Currently it is not possible to use COMPUTE_FRAMES only for some methods with a > ClassWriter, so we can only choose to recompute frames for all methods or none. > Have I missed something? Is there a way to do this currently? > Thanks > Ross Allan > -- > 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 -- 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