dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pnet-developers] Array access in the java compiler ?


From: Gopal V
Subject: Re: [Pnet-developers] Array access in the java compiler ?
Date: Fri, 28 Mar 2003 00:45:14 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, Gopal V wrote:
> Similarly array accesses seem to degenerate into recursive ldelems when
> I do it this way. 
> 
> //a[0][0]=42;
> 
> ldloc.1
> ldc.i4.0
> ldelem
> ldc.i4.0
> ldc.i4.s 42
> stelem.i4

I did the above with a hack .... which is not that good ... but it works :-)

http://symonds.net/~gopalv82/code/java-compiler-Mar-28-2003-12-37.tgz

> So do I need to fix up ILNode_JavaArrayAccess and ILNode_JavaNewExpression ?.
> (I hate that !)

JNewExpression is looking more & more ominous by the minute...

Gopal
-- 
The difference between insanity and genius is measured by success

Attachment: array.java
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]