[svn:parrot] r41362 - in trunk: include/parrot src src/interp

chromatic at svn.parrot.org chromatic at svn.parrot.org
Sat Sep 19 10:08:44 UTC 2009


Author: chromatic
Date: Sat Sep 19 10:08:41 2009
New Revision: 41362
URL: https://trac.parrot.org/parrot/changeset/41362

Log:
[interp] Removed binop_mmd_funcs pointer and n_binop_mmd_funcs count from
parrot_interp_t struct.  They've long gone unused, so a slimmer interpreter is
very nice.  I recommend a make realclean after this commit.

Modified:
   trunk/include/parrot/interpreter.h
   trunk/src/interp/inter_create.c
   trunk/src/multidispatch.c

Modified: trunk/include/parrot/interpreter.h
==============================================================================
--- trunk/include/parrot/interpreter.h	Sat Sep 19 09:27:27 2009	(r41361)
+++ trunk/include/parrot/interpreter.h	Sat Sep 19 10:08:41 2009	(r41362)
@@ -274,8 +274,6 @@
     PMC *root_namespace;                      /* namespace hash */
     PMC *scheduler;                           /* concurrency scheduler */
 
-    MMD_table *binop_mmd_funcs;               /* Table of MMD functions */
-    UINTVAL    n_binop_mmd_funcs;             /* MMD function count */
     MMD_Cache *op_mmd_cache;                  /* MMD cache for builtins. */
 
     struct _Caches * caches;                  /* see caches.h */

Modified: trunk/src/interp/inter_create.c
==============================================================================
--- trunk/src/interp/inter_create.c	Sat Sep 19 09:27:27 2009	(r41361)
+++ trunk/src/interp/inter_create.c	Sat Sep 19 10:08:41 2009	(r41362)
@@ -165,10 +165,7 @@
 
     Parrot_initialize_core_vtables(interp);
 
-    /* Set up the MMD struct */
-    interp->binop_mmd_funcs = NULL;
-
-    /* MMD cache for builtins. */
+    /* Set up MMD; MMD cache for builtins. */
     interp->op_mmd_cache = Parrot_mmd_cache_create(interp);
 
     /* create caches structure */

Modified: trunk/src/multidispatch.c
==============================================================================
--- trunk/src/multidispatch.c	Sat Sep 19 09:27:27 2009	(r41361)
+++ trunk/src/multidispatch.c	Sat Sep 19 10:08:41 2009	(r41362)
@@ -29,9 +29,6 @@
 
 =head2 Remarks
 
-C<< binop_mmd_funcs->x >> and C<< ->y >> are table sizes
-not highest type in table.
-
 =head2 Functions
 
 =over 4


More information about the parrot-commits mailing list