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

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

[Dotgnu-pnet-commits] pnet/cscc/c c_coerce.c,1.6,1.7


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet/cscc/c c_coerce.c,1.6,1.7
Date: Thu, 02 Oct 2003 23:26:20 +0000

Update of /cvsroot/dotgnu-pnet/pnet/cscc/c
In directory subversions:/tmp/cvs-serv12434/cscc/c

Modified Files:
        c_coerce.c 
Log Message:


ApplyCoercion: handle constant coercions when the underlying machine
type does not change.


Index: c_coerce.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/c/c_coerce.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** c_coerce.c  23 Dec 2002 22:43:26 -0000      1.6
--- c_coerce.c  2 Oct 2003 23:26:18 -0000       1.7
***************
*** 430,433 ****
--- 430,439 ----
                        }
                }
+               else if(CSemGetConstant(fromValue) != 0)
+               {
+                       /* Constant conversion that doesn't change the machine 
type */
+                       CSemLToRValue(fromValue);
+                       fromValue.type__ = toType;
+               }
                else
                {





reply via email to

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