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

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

[Dotgnu-pnet-commits] CVS: pnet/include il_coder.h,1.41,1.42


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/include il_coder.h,1.41,1.42
Date: Mon, 26 May 2003 01:47:05 -0400

Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv9297/include

Modified Files:
        il_coder.h 
Log Message:
Add a new ILCoder function ILCoderSetStackTrace() and use it fix the 
stack trace bugs


Index: il_coder.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_coder.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -r1.41 -r1.42
*** il_coder.h  8 May 2003 01:34:15 -0000       1.41
--- il_coder.h  26 May 2003 05:47:03 -0000      1.42
***************
*** 627,630 ****
--- 627,636 ----
        void (*throwException)(ILCoder *coder, int inCurrentMethod);
  
+ 
+       /*
+        * Set a stack trace. This is often used in conjunction with 
+        * throwException to mark exceptions with stack traces */
+       void (*setStackTrace)(ILCoder *coder);
+ 
        /*
         * Re-throw the current exception for a particular exception region.
***************
*** 928,931 ****
--- 934,939 ----
  #define       ILCoderThrow(coder,inCurrent) \
                        ((*((coder)->classInfo->throwException))((coder), 
(inCurrent)))
+ #define       ILCoderSetStackTrace(coder) \
+                       ((*((coder)->classInfo->setStackTrace))((coder)))
  #define       ILCoderRethrow(coder,exception) \
                        ((*((coder)->classInfo->rethrow))((coder), (exception)))





reply via email to

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