summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-26 20:53:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-26 20:53:11 +0000
commit9cce6d1071c3d84d07db891fab781620a287a9fe (patch)
treebe6bc9611890fb666956476c8962c86a0cd70fb3 /compile.c
parentaa4f1d8e81b21d9f0ee19b5041595effacf77201 (diff)
* 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
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c4
1 files changed, 0 insertions, 4 deletions
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);