[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/codegen cg_gen.c,1.47,1.48 cg_gen.h,1.4
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/codegen cg_gen.c,1.47,1.48 cg_gen.h,1.40,1.41 cg_nodemap.c,1.4,1.5 cg_nodemap.h,1.3,1.4 |
Date: |
Sat, 05 Jul 2003 01:04:01 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/codegen
In directory subversions:/tmp/cvs-serv11152/codegen
Modified Files:
cg_gen.c cg_gen.h cg_nodemap.c cg_nodemap.h
Log Message:
Fix bug #4197 - "unchecked" is required for numeric constant
casts such as "uint" to "int".
Index: cg_gen.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/codegen/cg_gen.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -r1.47 -r1.48
*** cg_gen.c 7 May 2003 05:58:21 -0000 1.47
--- cg_gen.c 5 Jul 2003 05:03:58 -0000 1.48
***************
*** 98,101 ****
--- 98,102 ----
info->overflowInsns = 1;
info->overflowGlobal = 1;
+ info->overflowChanged = 0;
info->pedanticArith = 0;
info->clsCompliant = 0;
Index: cg_gen.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/codegen/cg_gen.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** cg_gen.h 7 May 2003 05:58:21 -0000 1.40
--- cg_gen.h 5 Jul 2003 05:03:58 -0000 1.41
***************
*** 98,102 ****
ILLabel nextLabel; /* Next
temporary label to allocate */
int overflowInsns : 1; /* Use overflow
instructions */
! int overflowGlobal : 1; /* Global
versino of "overflowInsns" */
int pedanticArith : 1; /* Make
arithmetic always accurate */
int clsCompliant : 1; /* Use strict
CLS library only */
--- 98,103 ----
ILLabel nextLabel; /* Next
temporary label to allocate */
int overflowInsns : 1; /* Use overflow
instructions */
! int overflowGlobal : 1; /* Global
version of "overflowInsns" */
! int overflowChanged : 1;/* Overflow value
changed */
int pedanticArith : 1; /* Make
arithmetic always accurate */
int clsCompliant : 1; /* Use strict
CLS library only */
Index: cg_nodemap.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/codegen/cg_nodemap.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** cg_nodemap.c 26 Feb 2003 00:07:25 -0000 1.4
--- cg_nodemap.c 5 Jul 2003 05:03:58 -0000 1.5
***************
*** 196,199 ****
--- 196,200 ----
context->currentMethodFormals = info->currentMethodFormals;
context->overflowInsns = info->overflowInsns;
+ context->overflowChanged = info->overflowChanged;
/* Bail out if we don't have a node for the program item */
***************
*** 248,251 ****
--- 249,253 ----
}
info->overflowInsns = info->overflowGlobal;
+ info->overflowChanged = 0;
/* Ready to go */
***************
*** 261,264 ****
--- 263,267 ----
info->currentMethodFormals = context->currentMethodFormals;
info->overflowInsns = context->overflowInsns;
+ info->overflowChanged = context->overflowChanged;
}
Index: cg_nodemap.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/codegen/cg_nodemap.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** cg_nodemap.h 26 Feb 2003 00:07:25 -0000 1.3
--- cg_nodemap.h 5 Jul 2003 05:03:58 -0000 1.4
***************
*** 37,40 ****
--- 37,41 ----
ILNode *currentMethodFormals;
int overflowInsns;
+ int overflowChanged;
} ILGenItemContext;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/codegen cg_gen.c,1.47,1.48 cg_gen.h,1.40,1.41 cg_nodemap.c,1.4,1.5 cg_nodemap.h,1.3,1.4,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_cast.tc,1.9,1.10 cs_oper.tc,1.42,1.43
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System UriFormatException.cs,1.5,1.6
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_cast.tc,1.9,1.10 cs_oper.tc,1.42,1.43
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System UriFormatException.cs,1.5,1.6
- Index(es):