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.28,1.29


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_decls.tc,1.28,1.29
Date: Wed, 27 Nov 2002 19:09:24 -0500

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

Modified Files:
        cs_decls.tc 
Log Message:


Fix incorrect check-in.


Index: cs_decls.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_decls.tc,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** cs_decls.tc 28 Nov 2002 00:06:56 -0000      1.28
--- cs_decls.tc 28 Nov 2002 00:09:22 -0000      1.29
***************
*** 635,639 ****
        CSSemValue value;
        ILEvalValue evalValue;
-       int flag;
  
        /* Determine if we have already visited this node */
--- 635,638 ----
***************
*** 703,713 ****
  
                /* Check that the literal value is actually constant */
!               flag = ILNode_EvalConst(node->initializer, info, &evalValue);
!               if(!strcmp(ILField_Name(node->fieldInfo), "TicksPerDay"))
!               {
!                       printf("XXX - %d - %Ld\n", (int)(evalValue.valueType),
!                              evalValue.un.i8Value);
!               }
!               if(!flag ||
                   !ILGenCastConst(info, &evalValue, evalValue.valueType,
                     ILTypeToMachineType(ILField_Type(node->fieldInfo))))
--- 702,706 ----
  
                /* Check that the literal value is actually constant */
!               if(!ILNode_EvalConst(node->initializer, info, &evalValue) ||
                   !ILGenCastConst(info, &evalValue, evalValue.valueType,
                     ILTypeToMachineType(ILField_Type(node->fieldInfo))))





reply via email to

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