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_stmt.tc,1.32,1.33


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_stmt.tc,1.32,1.33
Date: Sat, 24 May 2003 03:52:49 -0400

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

Modified Files:
        cs_stmt.tc 
Log Message:
Do not generate local vars for constant declarations


Index: cs_stmt.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_stmt.tc,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** cs_stmt.tc  28 Dec 2002 17:17:02 -0000      1.32
--- cs_stmt.tc  24 May 2003 07:52:47 -0000      1.33
***************
*** 1916,1933 ****
                else
                {
-                       /* Add the type to the local variable signature for 
this method */
-                       if(!(method->localVarSig))
-                       {
-                               method->localVarSig = 
ILTypeCreateLocalList(info->context);
-                               if(!(method->localVarSig))
-                               {
-                                       CCOutOfMemory();
-                               }
-                       }
-                       if(!ILTypeAddLocal(info->context, method->localVarSig, 
type))
-                       {
-                               CCOutOfMemory();
-                       }
- 
                        /* Create a local variable entry in the current scope */
                        ILScopeDeclareLocalConst(info->currentScope, name,
--- 1916,1919 ----





reply via email to

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