aboutsummaryrefslogtreecommitdiffstats
path: root/vm_trace.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-07 08:38:25 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-07 08:38:25 +0000
commit06f2a86f1a57ded8177f0611bb107f0c4bcc2e70 (patch)
treee7851183cab8a2bcea25384e3a324de473997244 /vm_trace.c
parent80ad3e2a4332fb4997d30a9e836a7d5f0d9b8dae (diff)
downloadruby-06f2a86f1a57ded8177f0611bb107f0c4bcc2e70.tar.gz
* include/ruby/ruby.h (RUBY_EVENT_SPECIFIED_LINE): make it special.
This flag is not contained by RUBY_EVENT_TRACEPOINT_ALL. This event is experimental one. It is possible to remove/rename flag name after 2.0.1. * vm_trace.c (get_event_id): return :line if SPECIFIED_LINE was occurred. `:specified_line' never been returned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_trace.c b/vm_trace.c
index 425ca9fae0..9165e37bf3 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -546,6 +546,7 @@ get_event_id(rb_event_flag_t event)
C(thread_begin, THREAD_BEGIN);
C(thread_end, THREAD_END);
C(specified_line, SPECIFIED_LINE);
+ case RUBY_EVENT_LINE | RUBY_EVENT_SPECIFIED_LINE: CONST_ID(id, "line"); return id;
#undef C
default:
return 0;