dotgnu-pnet-commits
[Top][All Lists]
Advanced

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

[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_decls.tc,1.30,1.31


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_decls.tc,1.30,1.31
Date: Sun, 19 Jan 2003 02:18:45 -0500

Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv12498/cscc/csharp

Modified Files:
        cs_decls.tc 
Log Message:
fix to resolving const fields (order bug)


Index: cs_decls.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_decls.tc,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** cs_decls.tc 28 Dec 2002 17:17:02 -0000      1.30
--- cs_decls.tc 19 Jan 2003 07:18:43 -0000      1.31
***************
*** 635,638 ****
--- 635,641 ----
        CSSemValue value;
        ILEvalValue evalValue;
+       ILNode *savedMethod;
+ 
+       savedMethod=info->currentMethod;
  
        /* Determine if we have already visited this node */
***************
*** 665,668 ****
--- 668,673 ----
                goto done;
        }
+       
+       info->currentMethod=NULL;
  
        /* Non-static fields are initialized differently */
***************
*** 744,747 ****
--- 749,753 ----
  done:
        /* Mark the node as done and return */
+       info->currentMethod=savedMethod;
        node->visited = ILVisitMode_Done;
        return CSSemValueDefault;





reply via email to

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