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 /eval.c | |
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 'eval.c')
-rw-r--r-- | eval.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -424,13 +424,9 @@ rb_longjmp(int tag, volatile VALUE mesg) rb_trap_restore_mask(); - if (tag == TAG_FATAL) { - if (UNLIKELY(TRACE_RAISE_ENABLED())) FIRE_RAISE(0, (char*)"fatal", (char*)file, line); - } - else { + if (tag != TAG_FATAL) { EXEC_EVENT_HOOK(th, RUBY_EVENT_RAISE, th->cfp->self, 0 /* TODO: id */, 0 /* TODO: klass */); - if (UNLIKELY(TRACE_RAISE_ENABLED())) FIRE_RAISE(mesg, (char*)rb_class2name(CLASS_OF(mesg)), (char*)file, line); } rb_thread_raised_clear(th); @@ -637,9 +633,6 @@ rb_rescue2(VALUE (* b_proc) (ANYARGS), VALUE data1, va_end(args); if (handle) { - if (UNLIKELY(TRACE_RESCUE_ENABLED())) { - FIRE_RESCUE(th->errinfo, (char*)rb_class2name(CLASS_OF(th->errinfo)), (char*)"<unknown>", 0); - } if (r_proc) { PUSH_TAG(); if ((state = EXEC_TAG()) == 0) { |