ruby-changes:58050
From: Nobuyoshi <ko1@a...>
Date: Mon, 30 Sep 2019 17:44:30 +0900 (JST)
Subject: [ruby-changes:58050] 10d6a3aca7 (master): Fix assertion
https://git.ruby-lang.org/ruby.git/commit/?id=10d6a3aca7 From 10d6a3aca78771d0a7bfaecce982aac148152f35 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 30 Sep 2019 17:43:11 +0900 Subject: Fix assertion callable_method_entry_p is for rb_callable_method_entry_t. diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 545fba2..76bc56d 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -2576,7 +2576,7 @@ aliased_callable_method_entry0(const rb_method_entry_t *me) https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L2576 const rb_callable_method_entry_t *cme; if (orig_me->defined_class != 0) { - VM_ASSERT(callable_method_entry_p(orig_me)); + VM_ASSERT(callable_class_p(orig_me->defined_class)); return orig_me; } else { -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/