disable assertion.
This assertion is not needed because we found the bug. ba11a74745.
This commit is contained in:
parent
65731a1330
commit
9d3ffcfbfc
@ -497,7 +497,7 @@ static inline const rb_iseq_t *
|
|||||||
def_iseq_ptr(rb_method_definition_t *def)
|
def_iseq_ptr(rb_method_definition_t *def)
|
||||||
{
|
{
|
||||||
//TODO: re-visit. to check the bug, enable this assertion.
|
//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);
|
if (def->type != VM_METHOD_TYPE_ISEQ) rb_bug("def_iseq_ptr: not iseq (%d)", def->type);
|
||||||
#endif
|
#endif
|
||||||
return rb_iseq_check(def->body.iseq.iseqptr);
|
return rb_iseq_check(def->body.iseq.iseqptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user