mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
332210d441
commit
bd1e9d638e
2 changed files with 4 additions and 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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue