summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-05 13:15:26 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-05 13:15:26 +0000
commit8004ad33bcdb7b5bec3f7f077d386563fbcda76a (patch)
treeaa8388fa9bc7eda27578d67b4a7d85015f9b2f1d /proc.c
parentbbeeb2535c8e1b9759c14c9c441d654e2a1193e5 (diff)
downloadruby-8004ad33bcdb7b5bec3f7f077d386563fbcda76a.tar.gz
* eval.c, method.h, proc.c, vm.c, vm_eval.c, vm_insnhelper.c, vm_method.c:
TracePoint#method_id should return method_id, not callee_id. [ruby-core:77241] [Feature #12747] * test/ruby/test_settracefunc.rb: change accordingly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index a7f22714fe..229b030606 100644
--- a/proc.c
+++ b/proc.c
@@ -2224,7 +2224,7 @@ umethod_bind(VALUE method, VALUE recv)
else {
klass = rb_include_class_new(methclass, klass);
}
- RB_OBJ_WRITE(method, &bound->me, rb_method_entry_complement_defined_class(bound->me, klass));
+ RB_OBJ_WRITE(method, &bound->me, rb_method_entry_complement_defined_class(bound->me, bound->me->called_id, klass));
}
return method;