[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dotgnu-pnet-commits] pnet ChangeLog engine/jitc.c
From: |
Klaus Treichel |
Subject: |
[dotgnu-pnet-commits] pnet ChangeLog engine/jitc.c |
Date: |
Sun, 11 Jun 2006 15:17:15 +0000 |
CVSROOT: /sources/dotgnu-pnet
Module name: pnet
Changes by: Klaus Treichel <ktreichel> 06/06/11 15:17:15
Modified files:
. : ChangeLog
engine : jitc.c
Log message:
2006-06-11 Klaus Treichel <address@hidden>
* engine/jitc.c: Add System.IntPtr and System.UIntPtr to the
special
classes because there are fields with these types which do not
have
the internal native element types.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3324&r2=1.3325
http://cvs.savannah.gnu.org/viewcvs/pnet/engine/jitc.c?cvsroot=dotgnu-pnet&r1=1.37&r2=1.38
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3324
retrieving revision 1.3325
diff -u -b -r1.3324 -r1.3325
--- ChangeLog 10 Jun 2006 12:38:45 -0000 1.3324
+++ ChangeLog 11 Jun 2006 15:17:15 -0000 1.3325
@@ -1,3 +1,9 @@
+2006-06-11 Klaus Treichel <address@hidden>
+
+ * engine/jitc.c: Add System.IntPtr and System.UIntPtr to the special
+ classes because there are fields with these types which do not have
+ the internal native element types.
+
2006-06-10 Klaus Treichel <address@hidden>
* engine/jitc.c: Fix problem with not existent pinvokes.
Index: engine/jitc.c
===================================================================
RCS file: /sources/dotgnu-pnet/pnet/engine/jitc.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- engine/jitc.c 10 Jun 2006 12:38:45 -0000 1.37
+++ engine/jitc.c 11 Jun 2006 15:17:15 -0000 1.38
@@ -2373,6 +2373,7 @@
#ifdef IL_JIT_THREAD_IN_SIGNATURE
totalParams = numParams;
#else
+ /* otherwise we need the thread as an additional argument. */
totalParams = numParams + 1;
#endif
returnType = jit_type_get_return(signature);;
@@ -3257,6 +3258,14 @@
{
if(className->namespace && !strcmp(className->namespace, "System"))
{
+ if(!strcmp(className->name, "IntPtr"))
+ {
+ return _IL_JIT_TYPE_NINT;
+ }
+ if(!strcmp(className->name, "UIntPtr"))
+ {
+ return _IL_JIT_TYPE_NUINT;
+ }
if(!strcmp(className->name, "RuntimeTypeHandle"))
{
return _IL_JIT_TYPE_NINT;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [dotgnu-pnet-commits] pnet ChangeLog engine/jitc.c,
Klaus Treichel <=