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

disable assertion.

This assertion is not needed because we found the bug.
ba11a74745.
This commit is contained in:
Koichi Sasada 2019-12-17 20:22:00 +09:00
parent 65731a1330
commit 9d3ffcfbfc

View file

@ -497,7 +497,7 @@ static inline const rb_iseq_t *
def_iseq_ptr(rb_method_definition_t *def)
{
//TODO: re-visit. to check the bug, enable this assertion.
#if 1 || VM_CHECK_MODE > 0
#if VM_CHECK_MODE > 0
if (def->type != VM_METHOD_TYPE_ISEQ) rb_bug("def_iseq_ptr: not iseq (%d)", def->type);
#endif
return rb_iseq_check(def->body.iseq.iseqptr);