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

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

[dotgnu-pnet-commits] pnet ChangeLog engine/jitc_except.c engine/jitc...


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet ChangeLog engine/jitc_except.c engine/jitc...
Date: Thu, 05 Oct 2006 07:58:09 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Klaus Treichel <ktreichel>      06/10/05 07:58:09

Modified files:
        .              : ChangeLog 
        engine         : jitc_except.c jitc_ptr.c 

Log message:
        2006-10-05  Klaus Treichel  <address@hidden>
        
                * engine/jitc_except.c: Add return after throwing an 
OutOfMemoryException
                in _ILJitThrowSystem. Without this return an other erroneous 
call to
                ILRuntimeExceptionThrowClass was emitted.
        
                * engine/jitc_ptr.c: Check the array length instead of the 
array pointer
                in JITCoder_ArrayAccess.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3367&r2=1.3368
http://cvs.savannah.gnu.org/viewcvs/pnet/engine/jitc_except.c?cvsroot=dotgnu-pnet&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/pnet/engine/jitc_ptr.c?cvsroot=dotgnu-pnet&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3367
retrieving revision 1.3368
diff -u -b -r1.3367 -r1.3368
--- ChangeLog   4 Oct 2006 14:33:33 -0000       1.3367
+++ ChangeLog   5 Oct 2006 07:58:09 -0000       1.3368
@@ -1,3 +1,12 @@
+2006-10-05  Klaus Treichel  <address@hidden>
+
+       * engine/jitc_except.c: Add return after throwing an 
OutOfMemoryException
+       in _ILJitThrowSystem. Without this return an other erroneous call to
+       ILRuntimeExceptionThrowClass was emitted.
+
+       * engine/jitc_ptr.c: Check the array length instead of the array pointer
+       in JITCoder_ArrayAccess.
+
 2006-10-04  Klaus Treichel  <address@hidden>
 
        * engine/jitc.c, engine/jitc.h, engine/jitc_call.c: Add support for

Index: engine/jitc_except.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/jitc_except.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- engine/jitc_except.c        16 Sep 2006 20:24:05 -0000      1.10
+++ engine/jitc_except.c        5 Oct 2006 07:58:09 -0000       1.11
@@ -73,6 +73,7 @@
                                                         
ILRuntimeExceptionThrowOutOfMemory,
                                                         
_ILJitSignature_ILRuntimeExceptionThrowOutOfMemory,
                                                         0, 0, 
JIT_CALL_NORETURN);
+               return;
        }
        if(exception > 0)
        {

Index: engine/jitc_ptr.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/jitc_ptr.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- engine/jitc_ptr.c   27 Jun 2006 19:25:10 -0000      1.12
+++ engine/jitc_ptr.c   5 Oct 2006 07:58:09 -0000       1.13
@@ -162,7 +162,7 @@
 
                        _ILJitCheckNull(jitCoder, array);
                        len = GetArrayLength(jitCoder, array);
-                       ValidateArrayIndex(jitCoder, array, index);
+                       ValidateArrayIndex(jitCoder, len, index);
                        arrayBase = GetArrayBase(jitCoder, array);
 
                        ILJitType type = _ILJitGetReturnType(elemType, 
jitCoder->process);




reply via email to

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