aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2020-09-06 11:05:52 +0900
committernagachika <nagachika@ruby-lang.org>2020-09-06 11:05:52 +0900
commit3fef159f81fad6ffb9af5b60f4c8ec867fdb2391 (patch)
tree6b4902e5cc9c7491e02f062a6542aaee0990b112 /insns.def
parente778de2c82478dda930cfc8d795ed4e0e60ea775 (diff)
downloadruby-3fef159f81fad6ffb9af5b60f4c8ec867fdb2391.tar.gz
merge revision(s) 3e02cd518fbe4d91c2aca7fbc3c5aafa387d3cb7: [Backport #17149]
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 bd1bffbe02..71b9f44072 100644
--- a/insns.def
+++ b/insns.def
@@ -1508,7 +1508,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;