summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 08:19:25 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 08:19:25 (GMT)
commit0c2746a7bbb02f8417b892408371dba5c4cff222 (patch)
treecd157086e897dfab6ccb0b8a277e5e71655aff6e /insns.def
parent8dbaf1bbdd92ebac7fd186f072cd35bbf7f6458f (diff)
th->ec: dtrace
* vm.c (ruby_th_dtrace_setup): rename to rb_dtrace_setup() and accept `ec`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/insns.def b/insns.def
index 194901f..4ecdd64 100644
--- a/insns.def
+++ b/insns.def
@@ -789,7 +789,7 @@ trace
{
rb_event_flag_t flag = (rb_event_flag_t)nf;
- vm_dtrace(flag, rb_ec_thread_ptr(ec));
+ vm_dtrace(flag, ec);
EXEC_EVENT_HOOK(ec, flag, GET_SELF(), 0, 0, 0 /* id and klass are resolved at callee */,
(flag & (RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN)) ? TOPN(0) : Qundef);
}
@@ -807,7 +807,7 @@ trace2
{
rb_event_flag_t flag = (rb_event_flag_t)nf;
- vm_dtrace(flag, rb_ec_thread_ptr(ec));
+ vm_dtrace(flag, ec);
EXEC_EVENT_HOOK(ec, flag, GET_SELF(), 0, 0, 0 /* id and klass are resolved at callee */, data);
}