1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add a fix to last commit

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2015-06-03 20:26:55 +00:00
parent bd1e9d638e
commit 4ef6a68235

View file

@ -1327,7 +1327,6 @@ def_iseq_ptr(rb_method_definition_t *def)
{
#if VM_CHECK_MODE > 0
if (def->type != VM_METHOD_TYPE_ISEQ) rb_bug("def_iseq_ptr: not iseq (%d)", def->type);
if (def->body.iseq.iseqptr != iseq) rb_bug("def_iseq_ptr: ???.");
#endif
return def->body.iseq.iseqptr;
}