jakarta-bcel-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Huntwork <...@huntwork.net>
Subject Re: Query regarding index of local variables
Date Wed, 09 Feb 2005 14:51:33 GMT
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 

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

View raw message