diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2021-03-30 14:57:41 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:32 -0400 |
| commit | 2b09e2fe7bc9ebcc6e6678317b789d8a35f587e6 (patch) | |
| tree | fc0d375c24522820d3622b9f6bbf84f3d02274f3 | |
| parent | 5ec94e0d4ad49cd249312c29cbbe9369637b9b48 (diff) | |
Add a comment
| -rw-r--r-- | yjit_codegen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 } // 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) { |
