1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm.c (vm_exec): call RUBY_DTRACE_CMETHOD_RETURN_HOOK instead of

RUBY_DTRACE_METHOD_RETURN_HOOK.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2015-12-18 02:09:38 +00:00
parent 6f04ae5688
commit 68bac3cca4
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Dec 11 06:39:30 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* vm.c (vm_exec): call RUBY_DTRACE_CMETHOD_RETURN_HOOK instead of
RUBY_DTRACE_METHOD_RETURN_HOOK.
Fri Dec 18 10:24:44 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org> Fri Dec 18 10:24:44 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* lib/irb/ruby-lex.rb: fixed parse error for striped heredocument syntax. * lib/irb/ruby-lex.rb: fixed parse error for striped heredocument syntax.

2
vm.c
View file

@ -1670,7 +1670,7 @@ vm_exec(rb_thread_t *th)
EXEC_EVENT_HOOK(th, RUBY_EVENT_C_RETURN, th->cfp->self, EXEC_EVENT_HOOK(th, RUBY_EVENT_C_RETURN, th->cfp->self,
rb_vm_frame_method_entry(th->cfp)->called_id, rb_vm_frame_method_entry(th->cfp)->called_id,
rb_vm_frame_method_entry(th->cfp)->owner, Qnil); rb_vm_frame_method_entry(th->cfp)->owner, Qnil);
RUBY_DTRACE_METHOD_RETURN_HOOK(th, RUBY_DTRACE_CMETHOD_RETURN_HOOK(th,
rb_vm_frame_method_entry(th->cfp)->owner, rb_vm_frame_method_entry(th->cfp)->owner,
rb_vm_frame_method_entry(th->cfp)->called_id); rb_vm_frame_method_entry(th->cfp)->called_id);
} }