[svn:parrot] r39618 - branches/tt761_keys_revamp/src/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Jun 17 11:46:29 UTC 2009


Author: bacek
Date: Wed Jun 17 11:46:29 2009
New Revision: 39618
URL: https://trac.parrot.org/parrot/changeset/39618

Log:
[pmc] Drop redundant class_init from ArrayIterator.

Modified:
   branches/tt761_keys_revamp/src/pmc/arrayiterator.pmc

Modified: branches/tt761_keys_revamp/src/pmc/arrayiterator.pmc
==============================================================================
--- branches/tt761_keys_revamp/src/pmc/arrayiterator.pmc	Wed Jun 17 11:45:59 2009	(r39617)
+++ branches/tt761_keys_revamp/src/pmc/arrayiterator.pmc	Wed Jun 17 11:46:29 2009	(r39618)
@@ -58,15 +58,6 @@
     ATTR INTVAL  length;    /* Length of C<array> */
     ATTR INTVAL  reverse;   /* Direction of iteration. 1 - for reverse iteration */
 
-    void class_init() {
-        if (pass) {
-            /* Make the shift_pmc vtable function available as
-             * a method named "next" */
-            register_nci_method(INTERP, enum_class_ArrayIterator,
-                    F2DPTR(Parrot_ArrayIterator_shift_pmc), "next", "PJO");
-        }
-    }
-
 /*
 
 =item C<void init()>


More information about the parrot-commits mailing list