[svn:parrot] r48817 - in trunk: include/parrot src/interp src/runcore
plobsing at svn.parrot.org
plobsing at svn.parrot.org
Tue Sep 7 03:07:02 UTC 2010
Author: plobsing
Date: Tue Sep 7 03:07:02 2010
New Revision: 48817
URL: https://trac.parrot.org/parrot/changeset/48817
Log:
remove interp.save_func_table field
this is unused since dynop_mapping changes landed
Modified:
trunk/include/parrot/interpreter.h
trunk/src/interp/inter_create.c
trunk/src/runcore/main.c
Modified: trunk/include/parrot/interpreter.h
==============================================================================
--- trunk/include/parrot/interpreter.h Mon Sep 6 20:51:38 2010 (r48816)
+++ trunk/include/parrot/interpreter.h Tue Sep 7 03:07:02 2010 (r48817)
@@ -194,7 +194,6 @@
* running */
op_func_t *evc_func_table; /* event check opcode dispatch */
- op_func_t *save_func_table; /* for restoring op_func_table */
int n_libs; /* count of libs below */
op_lib_t **all_op_libs; /* all loaded opcode libraries */
Modified: trunk/src/interp/inter_create.c
==============================================================================
--- trunk/src/interp/inter_create.c Mon Sep 6 20:51:38 2010 (r48816)
+++ trunk/src/interp/inter_create.c Tue Sep 7 03:07:02 2010 (r48817)
@@ -258,7 +258,6 @@
interp->op_info_table = interp->op_lib->op_info_table;
interp->all_op_libs = NULL;
interp->evc_func_table = NULL;
- interp->save_func_table = NULL;
interp->code = NULL;
/* create the root set registry */
Modified: trunk/src/runcore/main.c
==============================================================================
--- trunk/src/runcore/main.c Mon Sep 6 20:51:38 2010 (r48816)
+++ trunk/src/runcore/main.c Tue Sep 7 03:07:02 2010 (r48817)
@@ -220,7 +220,7 @@
ASSERT_ARGS(runops_int)
/* setup event function ptrs */
- if (!interp->save_func_table)
+ if (!interp->evc_func_table)
Parrot_setup_event_func_ptrs(interp);
interp->resume_offset = offset;
@@ -266,12 +266,9 @@
Parrot_setup_event_func_ptrs(PARROT_INTERP)
{
ASSERT_ARGS(Parrot_setup_event_func_ptrs)
- const size_t n = interp->op_count;
const oplib_init_f init_func = get_core_op_lib_init(interp, interp->run_core);
op_lib_t * const lib = init_func(interp, 1);
-
- /* remember op_func_table */
- interp->save_func_table = lib->op_func_table;
+ const size_t n = lib->op_count;
if (!lib->op_func_table)
return;
@@ -443,7 +440,6 @@
}
interp->evc_func_table = new_evc_func_table;
- interp->save_func_table = new_func_table;
/* deinit core, so that it gets rehashed */
(void) PARROT_CORE_OPLIB_INIT(interp, 0);
More information about the parrot-commits
mailing list