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

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

[Dotgnu-pnet-commits] CVS: pnet/engine verify_call.c,1.38,1.39


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine verify_call.c,1.38,1.39
Date: Tue, 03 Jun 2003 21:10:42 -0400

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv13675/engine

Modified Files:
        verify_call.c 
Log Message:


InsertCtorArgs: convert ILEngineType_MV into ILEngineType_I when
constructing an instance of IntPtr or UIntPtr.


Index: verify_call.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/verify_call.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** verify_call.c       8 May 2003 01:34:15 -0000       1.38
--- verify_call.c       4 Jun 2003 01:10:40 -0000       1.39
***************
*** 801,805 ****
                stack[stackSize + 2] = stack[stackSize];
        }
!       stack[insertPosn].engineType = engineType1;
        stack[insertPosn].typeInfo = typeInfo1;
        stack[insertPosn + 1].engineType = engineType2;
--- 801,813 ----
                stack[stackSize + 2] = stack[stackSize];
        }
!       if(typeInfo1 == ILType_Int || typeInfo1 == ILType_UInt)
!       {
!               /* Convert MV into I for the IntPtr and UIntPtr types */
!               stack[insertPosn].engineType = ILEngineType_I;
!       }
!       else
!       {
!               stack[insertPosn].engineType = engineType1;
!       }
        stack[insertPosn].typeInfo = typeInfo1;
        stack[insertPosn + 1].engineType = engineType2;





reply via email to

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