aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-06-23 23:41:57 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2020-06-23 23:42:38 -0700
commit3e02cd518fbe4d91c2aca7fbc3c5aafa387d3cb7 (patch)
treeeee79b71a547956ea23d19cc5799fee46938d12c /insns.def
parentfbb32b1f483925987d225b4dc08efd197775bcae (diff)
downloadruby-3e02cd518fbe4d91c2aca7fbc3c5aafa387d3cb7.tar.gz
Trace :return of builtin methods
using opt_invokebuiltin_delegate_leave insn. Since Ruby 2.7, :return of methods using builtin have not been traced properly.
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index 2257bcd148..95f13915a5 100644
--- a/insns.def
+++ b/insns.def
@@ -1509,7 +1509,7 @@ opt_invokebuiltin_delegate_leave
val = vm_invoke_builtin_delegate(ec, reg_cfp, bf, (unsigned int)index);
/* leave fastpath */
- /* TracePoint/return should fallback this insn to opt_invokebuiltin_delegate */
+ /* TracePoint/return fallbacks this insn to opt_invokebuiltin_delegate */
if (vm_pop_frame(ec, GET_CFP(), GET_EP())) {
#if OPT_CALL_THREADED_CODE
rb_ec_thread_ptr(ec)->retval = val;