diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vm_insnhelper.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Thu Jun 4 05:13:34 2015 Koichi Sasada <ko1@atdot.net> + + * vm_insnhelper.c (def_iseq_ptr): `iseqval' is not available any more. + Thu Jun 4 04:50:12 2015 Koichi Sasada <ko1@atdot.net> * 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; |