diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 18:13:22 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 18:13:22 +0000 |
commit | 9a61579c1658502a87f62c857ec29cd831d5db41 (patch) | |
tree | 4e0a94fae643781bef9670c5f058f12100e6eccc /thread.c | |
parent | ab109c36f19aeaef088e975fa1de3ca6e6cce6f0 (diff) | |
download | ruby-9a61579c1658502a87f62c857ec29cd831d5db41.tar.gz |
* compile.h, insns.def: reduce insn operand of "trace".
* include/ruby/ruby.h: add RUBY_EVENT_COVERAGE event.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |