diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-05 05:59:23 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-05 05:59:23 +0000 |
commit | 295bc2fe2577336807db6e2c30bd642bdb6482bc (patch) | |
tree | e8af2c0334772bc31cc943c68fd2a884605830cc /insns.def | |
parent | 623a79c376fec2f76cc33819807f1903b40c3dea (diff) | |
download | ruby-295bc2fe2577336807db6e2c30bd642bdb6482bc.tar.gz |
removes the dtrace support. reverts r26239, r26238 and r26235.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -859,30 +859,6 @@ trace rb_event_flag_t flag = (rb_event_flag_t)nf; EXEC_EVENT_HOOK(th, flag, GET_SELF(), 0, 0 /* TODO: id, klass */); - if (UNLIKELY(TRACE_METHOD_ENTRY_ENABLED() - | TRACE_METHOD_RETURN_ENABLED() - | TRACE_LINE_ENABLED() - | TRACE_RESCUE_ENABLED())) { - if (UNLIKELY(TRACE_METHOD_ENTRY_ENABLED()) && (flag & RUBY_EVENT_CALL) ) { - VALUE self = GET_SELF(), klass; - ID id; - rb_thread_method_id_and_class(GET_THREAD(), &id, &klass); - FIRE_METHOD_ENTRY(self, (char*)rb_class2name(klass), (char*)rb_id2name(id), (char*)rb_sourcefile(), rb_sourceline()); - } - if (UNLIKELY(TRACE_METHOD_RETURN_ENABLED()) && (flag & RUBY_EVENT_RETURN) ) { - VALUE self = GET_SELF(), klass; - ID id; - rb_thread_method_id_and_class(GET_THREAD(), &id, &klass); - FIRE_METHOD_RETURN(self, (char*)rb_class2name(klass), (char*)rb_id2name(id), (char*)rb_sourcefile(), rb_sourceline()); - } - if (UNLIKELY(TRACE_RESCUE_ENABLED()) && (flag & RUBY_EVENT_RESCUE) ) { - VALUE ex = GET_DFP()[-2]; - FIRE_RESCUE(ex, (char*)rb_class2name(CLASS_OF(ex)), (char*)rb_sourcefile(), rb_sourceline()); - } - if (UNLIKELY(TRACE_LINE_ENABLED()) && (flag & RUBY_EVENT_LINE) ) { - FIRE_LINE((char*)rb_sourcefile(), rb_sourceline()); - } - } } /**********************************************************/ |