jakarta-bcel-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koduru, Rajendra Kumar Reddy" <rajendra.kumar.reddy.kod...@sap.com>
Subject RE: Query regarding index of local variables
Date Wed, 09 Feb 2005 19:40:07 GMT
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:ash@huntwork.net] 
>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: bcel-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: bcel-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org


Mime
View raw message