[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnet/codegen cg_const.tc,1.6,1.7
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnet/codegen cg_const.tc,1.6,1.7 |
Date: |
Fri, 21 Nov 2003 00:48:03 +0000 |
Update of /cvsroot/dotgnu-pnet/pnet/codegen
In directory subversions:/tmp/cvs-serv27287/codegen
Modified Files:
cg_const.tc
Log Message:
Expand "IntPtr.Zero" inline to "ldc.i4.0, conv.i", for greater runtime
efficiency.
Index: cg_const.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/codegen/cg_const.tc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** cg_const.tc 4 Jul 2002 06:19:15 -0000 1.6
--- cg_const.tc 21 Nov 2003 00:48:00 -0000 1.7
***************
*** 296,300 ****
if(node->value <= (ILUInt64)(ILUInt32)IL_MAX_INT32)
{
! ILGenInt32(info, (ILInt32)(node->value));
ILGenAdjust(info, 1);
return ILMachineType_NativeInt;
--- 296,300 ----
if(node->value <= (ILUInt64)(ILUInt32)IL_MAX_INT32)
{
! ILGenIntNative(info, (ILInt32)(node->value));
ILGenAdjust(info, 1);
return ILMachineType_NativeInt;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnet/codegen cg_const.tc,1.6,1.7,
Rhys Weatherley <address@hidden> <=