From 6df552eaee02153121c91b3c8e0671503f7ac1a2 Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 20 Dec 2017 01:51:50 +0000 Subject: [PATCH] vm_insnhelper.c (vm_trace): fix a typo Typical code clone bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 377f58e8f3..6eb6180a25 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -3840,7 +3840,7 @@ vm_trace(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp, const VALUE *p 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--; }