aboutsummaryrefslogtreecommitdiffstats
path: root/vm_trace.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-09-04 10:30:57 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-09-04 10:35:26 +0900
commit2ac3e9abe98579261a21a2e33df16f1bff1ebc1d (patch)
treeed2530a4657d50e7f5c092e86d1e7db5af7a20b5 /vm_trace.c
parentba8a7ab8a8afdd2160a22b34477920f4db00db8f (diff)
downloadruby-2ac3e9abe98579261a21a2e33df16f1bff1ebc1d.tar.gz
[Bug #18487] [DOC] Remove stale note in `set_trace_func` document
`c-call` and `c-return events no longer pass the nearest Ruby method binding.
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/vm_trace.c b/vm_trace.c
index 4b7d1d305d..3e11131bdd 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -569,10 +569,6 @@ static void call_trace_func(rb_event_flag_t, VALUE data, VALUE self, ID id, VALU
* line prog.rb:3 :test Test
* line prog.rb:4 :test Test
* return prog.rb:5 :test Test
- *
- * Note that for +c-call+ and +c-return+ events, the binding returned is the
- * binding of the nearest Ruby method calling the C method, since C methods
- * themselves do not have bindings.
*/
static VALUE