summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2023-08-17 17:13:01 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2023-08-17 17:14:46 -0400
commit518d5ab5c8be9372b5409984773eeadc1980cd10 (patch)
treed7377a43eeba3e5cb61791f6476f9cf0834c53aa /yjit
parent9683eb06cf91664cfe18f61677b2624fbaf8e3b0 (diff)
Add note about rb_f_notimplement [ci skip]
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8239
Diffstat (limited to 'yjit')
-rw-r--r--yjit/src/codegen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index aea105a4f3..1fe0b480e5 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -4898,7 +4898,7 @@ fn jit_obj_respond_to(
// Method exists and has acceptable visibility
if cme_def_type == VM_METHOD_TYPE_NOTIMPLEMENTED {
// C method with rb_f_notimplement(). `respond_to?` returns false
- // without consulting `respond_to_missing?`.
+ // without consulting `respond_to_missing?`. See also: rb_add_method_cfunc()
Qfalse
} else {
Qtrue