RE: Query regarding index of local variables

"Koduru, Rajendra Kumar Reddy" <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <[email protected]>
Hi Andrew,

	Thank you for your help regarding this. Currently, everything
seems to be fine..
	but will post, if I find some probs after extensive testing 

Thank you
Reddy


>-----Original Message-----
>From: Andrew Huntwork [mailto:[email protected]] 
>Sent: Mittwoch, 9. Februar 2005 15:52
>To: BCEL Users List
>Subject: Re: Query regarding index of local variables
>
>
>you didn't get the error i was expecting because you wrote the code i 
>was going to suggest to avoid it.  so it looks like you're in 
>good shape 
>now.
>
>Koduru, Rajendra Kumar Reddy wrote:
>> 
>> 	Andrew, I did not get that type of error, however could you
>> please let me know , why were you expecting this??
>> 	in non void methods, I was using 
>> 
>> 	1.	new ASTORE(x) 	// storing the result
>> 	2.	jsr call		// calling jsr
>> 	3.	new ALOAD(x)	// loading back the result
>> 	4.	return		// returning the result
>> 
>> 	and all the branches were reidrected to 1 (i.e store statement)
>> in case of non void methods
>> 
>> 	so could you please let me know , why were you expecting an
>> error?? So that I could rectify it
>> 	am I right in doing like this???
>> 
>> 	However just to mention, I was also using methodgen.setMaxStack
>> before returning the isntrumented method
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>
>
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.