Stack map with AnalyzerAdapter

<[email protected]> Wed, 19 Mar 2014 14:43:48 +0100 (CET)
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
Hello,

I want to do a javaagent which is replacing primitive types by an object
version. When I replace the primitive type double, I must instrument the
instructions like DUP2 and verify on the top of the operand stack if the type
is a double or an other like long.

After the first visitFrame call, my stack representation in AnalyzerAdapter is
false. I find the opcodes for DOUBLE (I have replace it by an object) and there
is some TOP opcodes added.

Is there a way to keep the stack map representation consistant when the
primitives types are replaced?

Thank you.
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