ruby-changes:68848
From: Alan <ko1@a...>
Date: Thu, 21 Oct 2021 08:14:16 +0900 (JST)
Subject: [ruby-changes:68848] 2b09e2fe7b (master): Add a comment
https://git.ruby-lang.org/ruby.git/commit/?id=2b09e2fe7b From 2b09e2fe7bc9ebcc6e6678317b789d8a35f587e6 Mon Sep 17 00:00:00 2001 From: Alan Wu <XrXr@u...> Date: Tue, 30 Mar 2021 14:57:41 -0400 Subject: Add a comment --- yjit_codegen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/yjit_codegen.c b/yjit_codegen.c index fe6d1d593e..1a19c84101 100644 --- a/yjit_codegen.c +++ b/yjit_codegen.c @@ -1357,6 +1357,7 @@ jit_guard_known_klass(jitstate_t *jit, const ctx_t *recompile_context, VALUE kno https://github.com/ruby/ruby/blob/trunk/yjit_codegen.c#L1357 } // Generate ancestry guard for protected callee. +// Calls to protected callees only go through when self.is_a?(klass_that_defines_the_callee). static void jit_protected_callee_ancestry_guard(jitstate_t *jit, codeblock_t *cb, const rb_callable_method_entry_t *cme, uint8_t *side_exit) { -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/