From bd1e9d638ee3c7c61d0ed2cf2716460e78ced6fe Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 3 Jun 2015 20:15:24 +0000 Subject: [PATCH] * vm_insnhelper.c (def_iseq_ptr): `iseqval' is not available any more. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ vm_insnhelper.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64b53c2237..c3a5ff9ab3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jun 4 05:13:34 2015 Koichi Sasada + + * vm_insnhelper.c (def_iseq_ptr): `iseqval' is not available any more. + Thu Jun 4 04:50:12 2015 Koichi Sasada * class.c (method_entry_i): mtbl should not have `me' as NULL. diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 3482f96b2e..be244fcb13 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1326,9 +1326,7 @@ static rb_iseq_t * def_iseq_ptr(rb_method_definition_t *def) { #if VM_CHECK_MODE > 0 - rb_iseq_t *iseq; if (def->type != VM_METHOD_TYPE_ISEQ) rb_bug("def_iseq_ptr: not iseq (%d)", def->type); - GetISeqPtr(def->body.iseq.iseqval, iseq); if (def->body.iseq.iseqptr != iseq) rb_bug("def_iseq_ptr: ???."); #endif return def->body.iseq.iseqptr;