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

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

[dotgnu-pnet-commits] pnet/engine call.c lib_diag.c


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet/engine call.c lib_diag.c
Date: Sun, 02 Apr 2006 13:06:12 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Branch:         
Changes by:     Klaus Treichel <address@hidden> 06/04/02 13:06:12

Modified files:
        engine         : call.c lib_diag.c 

Log message:
        2006-04-02  Klaus Treichel  <address@hidden>
        
        * engine/call.c: Fix the check if the method to call is a ctor for an 
array
        or string.
        
        * engine/lib_diag.c: The method is passed by value when the jit coder is
        used to _IL_StackFrame_InternalGetDebugInfo.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnet/engine/call.c.diff?tr1=1.40&tr2=1.41&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnet/engine/lib_diag.c.diff?tr1=1.12&tr2=1.13&r1=text&r2=text

Patches:
Index: pnet/engine/call.c
diff -u pnet/engine/call.c:1.40 pnet/engine/call.c:1.41
--- pnet/engine/call.c:1.40     Sun Feb 26 20:33:25 2006
+++ pnet/engine/call.c  Sun Apr  2 13:06:12 2006
@@ -974,8 +974,8 @@
                }
                else
                {
-                       ILType *type = ILType_FromClass(info);
-                       ILType *synType = type = ILClassGetSynType(info);
+                       ILType *type = ILClassToType(info);
+                       ILType *synType = ILClassGetSynType(info);
 
                        if(!(synType && ILType_IsArray(synType)) && 
!ILTypeIsStringClass(type))
                        {
Index: pnet/engine/lib_diag.c
diff -u pnet/engine/lib_diag.c:1.12 pnet/engine/lib_diag.c:1.13
--- pnet/engine/lib_diag.c:1.12 Sun Mar 19 11:29:11 2006
+++ pnet/engine/lib_diag.c      Sun Apr  2 13:06:12 2006
@@ -375,7 +375,11 @@
        *col = 0;
 
        /* Validate the method handle */
+#ifdef IL_USE_JIT
+       method = (ILMethod *)_method;
+#else
        method = *((ILMethod **)_method);
+#endif
        if(!method)
        {
                return 0;




reply via email to

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