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/call.c


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet ChangeLog engine/call.c
Date: Sat, 16 Sep 2006 20:30:51 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Klaus Treichel <ktreichel>      06/09/16 20:30:50

Modified files:
        .              : ChangeLog 
        engine         : call.c 

Log message:
                * engine/call.c: Move the currentException to the 
thrownException after a
                call to a jitted function so that the exception is propagated 
across native
                calls.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3360&r2=1.3361
http://cvs.savannah.gnu.org/viewcvs/pnet/engine/call.c?cvsroot=dotgnu-pnet&r1=1.43&r2=1.44

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3360
retrieving revision 1.3361
diff -u -b -r1.3360 -r1.3361
--- ChangeLog   16 Sep 2006 20:24:04 -0000      1.3360
+++ ChangeLog   16 Sep 2006 20:30:50 -0000      1.3361
@@ -1,5 +1,9 @@
 2006-09-16  Klaus Treichel  <address@hidden>
 
+       * engine/call.c: Move the currentException to the thrownException after 
a
+       call to a jitted function so that the exception is propagated across 
native
+       calls.
+
        * engine/jitc.c, engine/jitc_except.c: Move the thrownException in the
        thread to the currentException if an exception is thrown. The
        currentException is used only to prevent a collection of the exception

Index: engine/call.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/call.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- engine/call.c       5 Jun 2006 11:34:45 -0000       1.43
+++ engine/call.c       16 Sep 2006 20:30:50 -0000      1.44
@@ -1171,6 +1171,9 @@
                }
                return 0;
        }
+       /* If we get here there is an unhandled exception. */
+       /* We need to set the thread->thrownException. */
+       thread->thrownException = thread->currentException;
        return 1;
 }
 #else




reply via email to

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