[svn:parrot] r48913 - in branches/oplib_handling_cleanup: include/parrot src/interp

plobsing at svn.parrot.org plobsing at svn.parrot.org
Fri Sep 10 19:10:51 UTC 2010


Author: plobsing
Date: Fri Sep 10 19:10:51 2010
New Revision: 48913
URL: https://trac.parrot.org/parrot/changeset/48913

Log:
eliminate interp.op_count and interp.op_lib

Modified:
   branches/oplib_handling_cleanup/include/parrot/interpreter.h
   branches/oplib_handling_cleanup/src/interp/inter_create.c

Modified: branches/oplib_handling_cleanup/include/parrot/interpreter.h
==============================================================================
--- branches/oplib_handling_cleanup/include/parrot/interpreter.h	Fri Sep 10 18:47:50 2010	(r48912)
+++ branches/oplib_handling_cleanup/include/parrot/interpreter.h	Fri Sep 10 19:10:51 2010	(r48913)
@@ -182,9 +182,6 @@
 
     struct _ParrotIOData   *piodata;          /* interpreter's IO system */
 
-    op_lib_t  *op_lib;                        /* Opcode library */
-    size_t     op_count;                      /* The number of ops */
-
     op_func_t *evc_func_table;                /* event check opcode dispatch */
     size_t     evc_func_table_size;
 

Modified: branches/oplib_handling_cleanup/src/interp/inter_create.c
==============================================================================
--- branches/oplib_handling_cleanup/src/interp/inter_create.c	Fri Sep 10 18:47:50 2010	(r48912)
+++ branches/oplib_handling_cleanup/src/interp/inter_create.c	Fri Sep 10 19:10:51 2010	(r48913)
@@ -252,8 +252,6 @@
     Parrot_runcore_init(interp);
 
     /* Load the core op func and info tables */
-    interp->op_lib              = PARROT_CORE_OPLIB_INIT(interp, 1);
-    interp->op_count            = interp->op_lib->op_count;
     interp->all_op_libs         = NULL;
     interp->evc_func_table      = NULL;
     interp->evc_func_table_size = 0;


More information about the parrot-commits mailing list