ruby-changes:72401
From: Nobuyoshi <ko1@a...>
Date: Sun, 3 Jul 2022 00:07:22 +0900 (JST)
Subject: [ruby-changes:72401] c617495f8e (master): Fix empty call cache check for debug counter
https://git.ruby-lang.org/ruby.git/commit/?id=c617495f8e From c617495f8e8e3ef70076fc412172b202e8808981 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 2 Jul 2022 23:52:01 +0900 Subject: Fix empty call cache check for debug counter --- vm_insnhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 894c44693a..abc8aef053 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1912,7 +1912,7 @@ vm_search_method_slowpath0(VALUE cd_owner, struct rb_call_data *cd, VALUE klass) https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L1912 if (cd_owner && cc != empty_cc) RB_OBJ_WRITTEN(cd_owner, Qundef, cc); #if USE_DEBUG_COUNTER - if (old_cc == &empty_cc) { + if (old_cc == empty_cc) { // empty RB_DEBUG_COUNTER_INC(mc_inline_miss_empty); } -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/