ruby-changes:49233
From: mame <ko1@a...>
Date: Wed, 20 Dec 2017 10:51:55 +0900 (JST)
Subject: [ruby-changes:49233] mame:r61348 (trunk): vm_insnhelper.c (vm_trace): fix a typo
mame 2017-12-20 10:51:50 +0900 (Wed, 20 Dec 2017) New Revision: 61348 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61348 Log: vm_insnhelper.c (vm_trace): fix a typo Typical code clone bug. Modified files: trunk/vm_insnhelper.c Index: vm_insnhelper.c =================================================================== --- vm_insnhelper.c (revision 61347) +++ vm_insnhelper.c (revision 61348) @@ -3840,7 +3840,7 @@ vm_trace(rb_execution_context_t *ec, rb_ https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L3840 event == RUBY_EVENT_RETURN || event == RUBY_EVENT_B_RETURN); reg_cfp->pc++; - vm_dtrace(RUBY_EVENT_LINE, ec); + vm_dtrace(event, ec); EXEC_EVENT_HOOK(ec, event, GET_SELF(), 0, 0, 0, TOPN(0)); reg_cfp->pc--; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/