From 21ec45366219d7636c12014ca66767dc88dfe6f9 Mon Sep 17 00:00:00 2001 From: Andy Lester Date: Wed, 23 Feb 2011 21:30:27 -0600 Subject: [PATCH] remove unnecessary interp argument from store_op() and calls --- compilers/opsc/src/Ops/Trans/C.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compilers/opsc/src/Ops/Trans/C.pm b/compilers/opsc/src/Ops/Trans/C.pm index fb8e83a77d..be3b161192 100644 --- a/compilers/opsc/src/Ops/Trans/C.pm +++ b/compilers/opsc/src/Ops/Trans/C.pm @@ -288,7 +288,7 @@ static HOP **hop; static void hop_init(PARROT_INTERP); static size_t hash_str(const char *str); -static void store_op(PARROT_INTERP, op_info_t *info, HOP *p, const char *name); +static void store_op(op_info_t *info, HOP *p, const char *name); /* XXX on changing interpreters, this should be called, through a hook */ @@ -321,7 +321,7 @@ size_t hash_str(ARGIN(const char *str)) } -static void store_op(PARROT_INTERP, op_info_t *info, HOP *p, const char *name) +static void store_op(op_info_t *info, HOP *p, const char *name) { const size_t hidx = hash_str(name) % OP_HASH_SIZE; @@ -362,11 +362,11 @@ static void hop_init(PARROT_INTERP) /* store full names */ for (i = 0; i < [[BS]]op_lib.op_count; i++) { - store_op(interp, info + i, hops++, info[i].full_name); + store_op(info + i, hops++, info[i].full_name); /* plus one short name */ if (i && info[i - 1].name != info[i].name) - store_op(interp, info + i, hops++, info[i].name); + store_op(info + i, hops++, info[i].name); } }