ruby-changes:31566
From: ko1 <ko1@a...>
Date: Mon, 11 Nov 2013 03:19:47 +0900 (JST)
Subject: [ruby-changes:31566] ko1:r43645 (trunk): * vm_trace.c (symbol2event_flag): add secret feature.
ko1 2013-11-11 03:19:41 +0900 (Mon, 11 Nov 2013) New Revision: 43645 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43645 Log: * vm_trace.c (symbol2event_flag): add secret feature. add a_call/a_return events. a_call is call | b_call | c_call, and same as a_return. Modified files: trunk/ChangeLog trunk/vm_trace.c Index: ChangeLog =================================================================== --- ChangeLog (revision 43644) +++ ChangeLog (revision 43645) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Nov 11 03:15:56 2013 Koichi Sasada <ko1@a...> + + * vm_trace.c (symbol2event_flag): add secret feature. + add a_call/a_return events. + a_call is call | b_call | c_call, and same as a_return. + Mon Nov 11 02:51:17 2013 Eric Hodel <drbrain@s...> * lib/rubygems: Update to RubyGems master 4bdc4f2. Important changes Index: vm_trace.c =================================================================== --- vm_trace.c (revision 43644) +++ vm_trace.c (revision 43645) @@ -662,6 +662,8 @@ symbol2event_flag(VALUE v) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L662 C(thread_end, THREAD_END); C(specified_line, SPECIFIED_LINE); #undef C + CONST_ID(id, "a_call"); if (sym == ID2SYM(id)) return RUBY_EVENT_CALL | RUBY_EVENT_B_CALL | RUBY_EVENT_C_CALL; + CONST_ID(id, "a_return"); if (sym == ID2SYM(id)) return RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN | RUBY_EVENT_C_RETURN; rb_raise(rb_eArgError, "unknown event: %s", rb_id2name(SYM2ID(sym))); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/