mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* insnhelper.ci (vm_call_method): pass mn->nd_clss to
vm_call_cfunc() instead of klass. * vm.c (rb_thread_method_id_and_klass): traverse parent_iseq. * thread.c (call_trace_proc): use rb_thread_method_id_and_klass(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c5335ee110
commit
577eaa60a7
5 changed files with 48 additions and 22 deletions
|
@ -35,7 +35,7 @@ class TestSetTraceFunc < Test::Unit::TestCase
|
|||
eval("class Foo; end")
|
||||
set_trace_func nil
|
||||
|
||||
assert_equal(["c-return", 18, :set_trace_func, TestSetTraceFunc],
|
||||
assert_equal(["c-return", 18, :set_trace_func, Kernel],
|
||||
events.shift) # TODO
|
||||
assert_equal(["line", 19, :test_event, TestSetTraceFunc],
|
||||
events.shift) # a = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue