diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-06-23 23:41:57 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2020-06-23 23:42:38 -0700 |
commit | 3e02cd518fbe4d91c2aca7fbc3c5aafa387d3cb7 (patch) | |
tree | eee79b71a547956ea23d19cc5799fee46938d12c /insns.def | |
parent | fbb32b1f483925987d225b4dc08efd197775bcae (diff) | |
download | ruby-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.def | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |