summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 18:13:22 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 18:13:22 +0000
commit3ce21396a4a190b1c99d95c7b421cede555ab909 (patch)
tree4e0a94fae643781bef9670c5f058f12100e6eccc /thread.c
parentd61356d9f794a87b566f97263d9fb3455ce625c1 (diff)
downloadruby-3ce21396a4a190b1c99d95c7b421cede555ab909.tar.gz
ruby-3ce21396a4a190b1c99d95c7b421cede555ab909.tar.xz
ruby-3ce21396a4a190b1c99d95c7b421cede555ab909.zip
* compile.h, insns.def: reduce insn operand of "trace".
* include/ruby/ruby.h: add RUBY_EVENT_COVERAGE event. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread.c b/thread.c
index bac4715ca..b021e2e33 100644
--- a/thread.c
+++ b/thread.c
@@ -3280,7 +3280,7 @@ call_trace_proc(VALUE args, int tracing)
rb_thread_method_id_and_class(GET_THREAD(), &id, &klass);
}
if (id == ID_ALLOCATOR)
- return Qnil;
+ return Qnil;
if (klass) {
if (TYPE(klass) == T_ICLASS) {
klass = RBASIC(klass)->klass;
@@ -3296,7 +3296,7 @@ call_trace_proc(VALUE args, int tracing)
argv[3] = id ? ID2SYM(id) : Qnil;
argv[4] = p->self ? rb_binding_new() : Qnil;
argv[5] = klass ? klass : Qnil;
-
+
return rb_proc_call_with_block(p->proc, 6, argv, Qnil);
}