From 295bc2fe2577336807db6e2c30bd642bdb6482bc Mon Sep 17 00:00:00 2001
From: yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Tue, 5 Jan 2010 05:59:23 +0000
Subject: 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
---
 insns.def | 24 ------------------------
 1 file changed, 24 deletions(-)

(limited to 'insns.def')

diff --git a/insns.def b/insns.def
index 869d7564d8..5f789bd441 100644
--- a/insns.def
+++ b/insns.def
@@ -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());
-	}
-    }
 }
 
 /**********************************************************/
-- 
cgit v1.2.3

