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

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

[Dotgnu-pnet-commits] pnet/cscc/csharp cs_misc.tc,1.16,1.17


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet/cscc/csharp cs_misc.tc,1.16,1.17
Date: Wed, 03 Dec 2003 04:47:15 +0000

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

Modified Files:
        cs_misc.tc 
Log Message:


ILNode_SizeOf: bug in the handling of "sizeof" which caused it to
always set the size of non-primitive types to 1.


Index: cs_misc.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_misc.tc,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** cs_misc.tc  28 Nov 2003 04:49:17 -0000      1.16
--- cs_misc.tc  3 Dec 2003 04:47:13 -0000       1.17
***************
*** 250,257 ****
        /* Pre-compute the size if this is a primitive type */
        node->size = GetPrimitiveTypeSize(node->type);
-       if(!(node->size))
-       {
-               node->size = 1;
-       }
  
        /* Return the type information to the caller */
--- 250,253 ----





reply via email to

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