summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-22 13:43:51 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-22 13:43:51 +0000
commit9606249e46b01dc3449825347c2ba01d8c3c020a (patch)
tree2821e8d1db03856772078071596e7611d8e752ae /eval.c
parent2342d9078b305e97f03b7dce39e397d3fd1372ae (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 3541a28472..e8c4a9d963 100644
--- a/eval.c
+++ b/eval.c
@@ -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;
}