1
0
Fork 0
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:
mame 2009-07-30 15:34:56 +00:00
parent b5b8e5e0f4
commit 447df19520
2 changed files with 6 additions and 1 deletions

View file

@ -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>
* gem_prelude.rb (Gem.path): uses Gem.default_path as a default value

View file

@ -362,7 +362,7 @@ vm_call_cfunc(rb_thread_t *th, rb_control_frame_t *reg_cfp,
VALUE val = 0;
int state = 0;
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);