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

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

[Dotgnu-pnet-commits] CVS: pnet/codegen cg_cast.tc,1.13,1.14


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/codegen cg_cast.tc,1.13,1.14
Date: Sat, 21 Jun 2003 04:48:52 -0400

Update of /cvsroot/dotgnu-pnet/pnet/codegen
In directory subversions:/tmp/cvs-serv16445/codegen

Modified Files:
        cg_cast.tc 
Log Message:


Fix incorrect code generation for casting "uint" to "byte".


Index: cg_cast.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/codegen/cg_cast.tc,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** cg_cast.tc  13 Nov 2002 20:33:26 -0000      1.13
--- cg_cast.tc  21 Jun 2003 08:48:50 -0000      1.14
***************
*** 326,334 ****
        if(info->overflowInsns)
        {
!               ILGenSimple(info, IL_OP_CONV_OVF_I1_UN);
        }
        else
        {
!               ILGenSimple(info, IL_OP_CONV_I1);
        }
  }
--- 326,334 ----
        if(info->overflowInsns)
        {
!               ILGenSimple(info, IL_OP_CONV_OVF_U1_UN);
        }
        else
        {
!               ILGenSimple(info, IL_OP_CONV_U1);
        }
  }





reply via email to

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