ruby-changes:58437
From: Koichi <ko1@a...>
Date: Fri, 25 Oct 2019 17:59:53 +0900 (JST)
Subject: [ruby-changes:58437] 88135845f1 (master): enable assertion for debug.
https://git.ruby-lang.org/ruby.git/commit/?id=88135845f1 From 88135845f10f4b8ea3b67584a2c899ad365fd6bb Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Fri, 25 Oct 2019 17:58:54 +0900 Subject: enable assertion for debug. http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2340856 diff --git a/vm_core.h b/vm_core.h index 53d4217..fabe8bb 100644 --- a/vm_core.h +++ b/vm_core.h @@ -491,7 +491,8 @@ rb_iseq_check(const rb_iseq_t *iseq) https://github.com/ruby/ruby/blob/trunk/vm_core.h#L491 static inline const rb_iseq_t * def_iseq_ptr(rb_method_definition_t *def) { -#if VM_CHECK_MODE > 0 +//TODO: re-visit. to check the bug, enable this assertion. +#if 1 || 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); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/