Re: Swapping long/double values on operand stack

Dave Brosius <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
The Jvm doesn't support accessing single words of a double word data type.



On 08/26/2010 01:22 PM, [email protected] wrote:
> Hi,
>
> I had sent this question to the [email protected] email id, not sure if
> that is being monitored.
>
> My question is regarding the SWAP instruction. Would this instruction correctly
> handle a case where one of the top two values on the operand stack is a double
> word value like long/double. I tried this out and I am getting an error like
>
> Exception in thread "main" java.lang.VerifyError: (class: ASMTest, method: f
> signature: (Ljava/lang/String;)I) Attempt to split long or double on the stack
>
> I would like to know if this is supported or if it is some error in my code.
>
> Thanks,
> Tom.
>
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.