mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_insnhelper.c (vm_call_cfunc): let set_trace_func use called_id
instead of original_id. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b5b8e5e0f4
commit
447df19520
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Jul 31 00:30:54 2009 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* vm_insnhelper.c (vm_call_cfunc): let set_trace_func use called_id
|
||||||
|
instead of original_id.
|
||||||
|
|
||||||
Thu Jul 30 23:04:32 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
Thu Jul 30 23:04:32 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||||
|
|
||||||
* gem_prelude.rb (Gem.path): uses Gem.default_path as a default value
|
* gem_prelude.rb (Gem.path): uses Gem.default_path as a default value
|
||||||
|
|
|
@ -362,7 +362,7 @@ vm_call_cfunc(rb_thread_t *th, rb_control_frame_t *reg_cfp,
|
||||||
VALUE val = 0;
|
VALUE val = 0;
|
||||||
int state = 0;
|
int state = 0;
|
||||||
VALUE klass = me->klass;
|
VALUE klass = me->klass;
|
||||||
ID id = me->original_id;
|
ID id = me->called_id;
|
||||||
|
|
||||||
EXEC_EVENT_HOOK(th, RUBY_EVENT_C_CALL, recv, id, klass);
|
EXEC_EVENT_HOOK(th, RUBY_EVENT_C_CALL, recv, id, klass);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue