[svn:parrot] r41232 - trunk/src/pmc

NotFound at svn.parrot.org NotFound at svn.parrot.org
Sat Sep 12 13:44:07 UTC 2009


Author: NotFound
Date: Sat Sep 12 13:44:07 2009
New Revision: 41232
URL: https://trac.parrot.org/parrot/changeset/41232

Log:
[pmc] remove unuseful and wrong ExceptionHandler destroy

Modified:
   trunk/src/pmc/exceptionhandler.pmc

Modified: trunk/src/pmc/exceptionhandler.pmc
==============================================================================
--- trunk/src/pmc/exceptionhandler.pmc	Sat Sep 12 13:40:30 2009	(r41231)
+++ trunk/src/pmc/exceptionhandler.pmc	Sat Sep 12 13:44:07 2009	(r41232)
@@ -52,8 +52,9 @@
          * of an "earlier" context, which is contained in the interpreter's
          * context - the stacks can only be deeper in the interpreter - so no
          * mark of context is needed */
-        PObj_custom_mark_destroy_SETALL(SELF);
+        PObj_custom_mark_SET(SELF);
     }
+
 /*
 
 =item C<void mark()>
@@ -74,17 +75,6 @@
         SUPER();
     }
 
-    VTABLE void destroy() {
-        Parrot_ExceptionHandler_attributes *attrs = PARROT_EXCEPTIONHANDLER(SELF);
-
-        if (attrs->handled_types){
-            PObj_on_free_list_SET((PObj *) attrs->handled_types);
-        }
-        if (attrs->handled_types_except){
-            PObj_on_free_list_SET((PObj *) attrs->handled_types_except);
-        }
-    }
-
     VTABLE PMC *clone() {
         PMC * const result = SUPER();
         /* This looks wrong, why wouldn't we want to mark the clone? */


More information about the parrot-commits mailing list