summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-20 01:51:50 (GMT)
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-20 01:51:50 (GMT)
commit6df552eaee02153121c91b3c8e0671503f7ac1a2 (patch)
tree6ccbdbc63c932ad9451b5c252a3420aa020a7239 /vm_insnhelper.c
parentcc2f982852248b56ddc44d5895de6fd7cf950aad (diff)
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
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 377f58e..6eb6180 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--;
}