summaryrefslogtreecommitdiffstats
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
commit496fc29fef27cba2419643925e69afdef6c7fa2e (patch)
tree2821e8d1db03856772078071596e7611d8e752ae /eval.c
parent5b8bf36a4cf95064790516cffb1a791563679853 (diff)
downloadruby-496fc29fef27cba2419643925e69afdef6c7fa2e.tar.gz
ruby-496fc29fef27cba2419643925e69afdef6c7fa2e.tar.xz
ruby-496fc29fef27cba2419643925e69afdef6c7fa2e.zip
* eval.c (rb_call0): check event_hooks instead of trace_func.
git-svn-id: http://svn.ruby-lang.org/repos/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 3541a2847..e8c4a9d96 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;
}