diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-12-17 20:22:00 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-12-17 20:23:15 +0900 |
commit | 9d3ffcfbfc742ed5053b59678dbf97773a7dddc1 (patch) | |
tree | a0cce286e36333d60d77693a312a5abb9046e56a | |
parent | 65731a1330ed02691e3c343d2feeb8d0a72af3fd (diff) | |
download | ruby-9d3ffcfbfc742ed5053b59678dbf97773a7dddc1.tar.gz |
disable assertion.
This assertion is not needed because we found the bug.
ba11a74745.
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 1 insertions, 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); |