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:
parent
65731a1330
commit
9d3ffcfbfc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue