[Top][All Lists]
[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
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnet/cscc/c c_coerce.c,1.6,1.7,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] pnet ChangeLog,1.2704,1.2705
- Next by Date:
[Dotgnu-pnet-commits] cscctest/c/decl enum1.3il, NONE, 1.1 enum1.c, NONE, 1.1 enum1.il, NONE, 1.1 Makefile.am, 1.6, 1.7
- Previous by thread:
[Dotgnu-pnet-commits] pnet ChangeLog,1.2704,1.2705
- Next by thread:
[Dotgnu-pnet-commits] cscctest/c/decl enum1.3il, NONE, 1.1 enum1.c, NONE, 1.1 enum1.il, NONE, 1.1 Makefile.am, 1.6, 1.7
- Index(es):