[svn:parrot] r49732 - branches/gsoc_nci/src/pmc

plobsing at svn.parrot.org plobsing at svn.parrot.org
Sat Oct 30 06:21:38 UTC 2010


Author: plobsing
Date: Sat Oct 30 06:21:38 2010
New Revision: 49732
URL: https://trac.parrot.org/parrot/changeset/49732

Log:
eliminate some unnecessary attributes

Modified:
   branches/gsoc_nci/src/pmc/nci.pmc

Modified: branches/gsoc_nci/src/pmc/nci.pmc
==============================================================================
--- branches/gsoc_nci/src/pmc/nci.pmc	Sat Oct 30 06:18:15 2010	(r49731)
+++ branches/gsoc_nci/src/pmc/nci.pmc	Sat Oct 30 06:21:38 2010	(r49732)
@@ -163,9 +163,8 @@
 
 pmclass NCI auto_attrs provides invokable {
     /* NCI thunk handling attributes */
-    /* NCI thunk handling attributes */
     ATTR PMC       *signature;
-    ATTR STRING    *sig_str;              /* The signature. */
+    ATTR STRING    *sig_str;
     ATTR void      *func;                   /* Function pointer to call. */
     ATTR void      *orig_func;
     ATTR PMC       *fb_info;                /* Frame-builder info */
@@ -175,9 +174,7 @@
     /* Parrot Sub-ish attributes */
     ATTR STRING    *pcc_params_signature;
     ATTR STRING    *pcc_return_signature;
-    ATTR void      *arg_translation;
-    ATTR void      *return_translation;
-    ATTR INTVAL     arity;                  /* Cached arity of the NCI. */
+    ATTR INTVAL     arity;
 
     /* MMD fields */
     ATTR STRING    *long_signature;         /* The full signature. */
@@ -296,9 +293,7 @@
         if (PARROT_NCI(SELF)) {
             Parrot_NCI_attributes * const nci_info = PARROT_NCI(SELF);
             mem_sys_free(nci_info->cif);
-            mem_sys_free(nci_info->arg_translation);
             mem_sys_free(nci_info->arg_types);
-            mem_sys_free(nci_info->return_translation);
         }
     }
 


More information about the parrot-commits mailing list