vm_core.h (struct rb_iseq_t): add a new field line_no. This field
represents line number from which the original code of the iseq
starts. [ruby-dev:38698]
iseq.c, compile.c: ditto.
parse.y: line number hack (for Proc#source_location) is no longer
needed.
test/ruby/test_settracefunc.rb: line number of set_trace_func is now
compatible with 1.8's.
merges r24243 from trunk into ruby_1_9_1.¶
vm_core.h (struct rb_iseq_t): add a new field line_no. This field
represents line number from which the original code of the iseq
starts. [ruby-dev:38698]
iseq.c, compile.c: ditto.
parse.y: line number hack (for Proc#source_location) is no longer
needed.
test/ruby/test_settracefunc.rb: line number of set_trace_func is now
compatible with 1.8's.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e