[svn:parrot] r48818 - trunk/src/runcore
plobsing at svn.parrot.org
plobsing at svn.parrot.org
Tue Sep 7 03:20:59 UTC 2010
Author: plobsing
Date: Tue Sep 7 03:20:58 2010
New Revision: 48818
URL: https://trac.parrot.org/parrot/changeset/48818
Log:
remove unused static function notify_func_table
Modified:
trunk/src/runcore/main.c
Modified: trunk/src/runcore/main.c
==============================================================================
--- trunk/src/runcore/main.c Tue Sep 7 03:07:02 2010 (r48817)
+++ trunk/src/runcore/main.c Tue Sep 7 03:20:58 2010 (r48818)
@@ -45,19 +45,10 @@
ARGIN(const PMC *lib))
__attribute__nonnull__(2);
-static void notify_func_table(PARROT_INTERP,
- ARGIN(op_func_t *table),
- int on)
- __attribute__nonnull__(1)
- __attribute__nonnull__(2);
-
#define ASSERT_ARGS_dynop_register_switch __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_get_dynamic_op_lib_init __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(lib))
-#define ASSERT_ARGS_notify_func_table __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
- PARROT_ASSERT_ARG(interp) \
- , PARROT_ASSERT_ARG(table))
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
/* HEADERIZER END: static */
@@ -481,31 +472,6 @@
/*
-=item C<static void notify_func_table(PARROT_INTERP, op_func_t *table, int on)>
-
-Tell the interpreter's running core about the new function table.
-
-=cut
-
-*/
-
-static void
-notify_func_table(PARROT_INTERP, ARGIN(op_func_t *table), int on)
-{
- ASSERT_ARGS(notify_func_table)
- const oplib_init_f init_func = get_core_op_lib_init(interp, interp->run_core);
-
- init_func(interp, (long) table);
-
- if (PARROT_RUNCORE_FUNC_TABLE_TEST(interp->run_core)) {
- PARROT_ASSERT(table);
- interp->op_func_table = table;
- }
-}
-
-
-/*
-
=item C<void disable_event_checking(PARROT_INTERP)>
Restore old function table.
More information about the parrot-commits
mailing list