diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-29 13:19:14 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-29 13:19:14 +0000 |
commit | a288b87c4c4469b98d75125d3f24eb904d02ca28 (patch) | |
tree | 0f47735517ee34726666e9169924223794883fb0 /insns.def | |
parent | 3fd1b00528ad9209acd60c5badcdc0b374c50000 (diff) | |
download | ruby-a288b87c4c4469b98d75125d3f24eb904d02ca28.tar.gz |
EXEC_EVENT_HOOK(ec, ...)
* vm_core.h (EXEC_EVENT_HOOK): accepts `ec` instead of `th`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -790,7 +790,7 @@ trace rb_event_flag_t flag = (rb_event_flag_t)nf; vm_dtrace(flag, rb_ec_thread_ptr(ec)); - EXEC_EVENT_HOOK(rb_ec_thread_ptr(ec), flag, GET_SELF(), 0, 0, 0 /* id and klass are resolved at callee */, + 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); } @@ -808,7 +808,7 @@ trace2 rb_event_flag_t flag = (rb_event_flag_t)nf; vm_dtrace(flag, rb_ec_thread_ptr(ec)); - EXEC_EVENT_HOOK(rb_ec_thread_ptr(ec), flag, GET_SELF(), 0, 0, 0 /* id and klass are resolved at callee */, data); + EXEC_EVENT_HOOK(ec, flag, GET_SELF(), 0, 0, 0 /* id and klass are resolved at callee */, data); } /**********************************************************/ |