>  In src/objects.c:Parrot_single_subclass() there is the todo item:
>
>  /* XXX not really threadsafe but good enough for now */
>
>  This needs to be made threadsafe.

This ticket can be closed, as Parrot_single_subclass was dead code and
has been removed.

Looking a this, I discovered that the subclass function in default.pmc
contains a call to Parrot_single_subclass, but this function is not
present in default.c and there is no error nor warning about that
fact. Is this a behavior expected?

Anyway, the attached patch removes it.

-- 
Salu2
Index: src/pmc/default.pmc
===================================================================
--- src/pmc/default.pmc	(revisión: 27383)
+++ src/pmc/default.pmc	(copia de trabajo)
@@ -981,21 +981,6 @@
 
 /*
 
-
-=item C<PMC *subclass(PMC *name)>
-
-Creates a subclass, optionally with a given C<name>.
-
-=cut
-
-*/
-
-    PMC *subclass(PMC *name) {
-        return Parrot_single_subclass(INTERP, SELF, name);
-    }
-
-/*
-
 =item C<PMC *get_class()>
 
 Returns SELF. A PMC is its own class.

Reply via email to