diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-22 13:43:51 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-22 13:43:51 +0000 |
commit | 9606249e46b01dc3449825347c2ba01d8c3c020a (patch) | |
tree | 2821e8d1db03856772078071596e7611d8e752ae /eval.c | |
parent | 2342d9078b305e97f03b7dce39e397d3fd1372ae (diff) |
* eval.c (rb_call0): check event_hooks instead of trace_func.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5731,7 +5731,7 @@ rb_call0(klass, recv, id, oid, argc, argv, body, nosuper) } } - if (trace_func) { + if (event_hooks) { EXEC_EVENT_HOOK(RUBY_EVENT_CALL, b2, recv, id, klass); hook_return = 1; } |