From 9cce6d1071c3d84d07db891fab781620a287a9fe Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 26 Jul 2010 20:53:11 +0000 Subject: * compile.c (rb_iseq_translate_threaded_code): removed duplicated code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 4621cd978b..77b267c773 100644 --- a/compile.c +++ b/compile.c @@ -512,11 +512,7 @@ rb_iseq_translate_threaded_code(rb_iseq_t *iseq) { #if OPT_DIRECT_THREADED_CODE || OPT_CALL_THREADED_CODE extern const void **rb_vm_get_insns_address_table(void); -#if OPT_DIRECT_THREADED_CODE const void * const *table = rb_vm_get_insns_address_table(); -#else - const void * const *table = rb_vm_get_insns_address_table(); -#endif unsigned long i; iseq->iseq_encoded = ALLOC_N(VALUE, iseq->iseq_size); -- cgit v1.2.3