diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-25 02:24:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-25 02:24:33 +0000 |
commit | 8a4fb4acba170bae08b2d3c29f380b7a7983efd8 (patch) | |
tree | 18cbd90ec8ad338b847a659e65fc745b4b45f3ee /benchmark/bm_vm2_case.rb | |
parent | 165db57cdc91ba422448b1be228a9f70bff08f15 (diff) | |
download | ruby-8a4fb4acba170bae08b2d3c29f380b7a7983efd8.tar.gz |
eval.c: rb_frame_callee returns current name
* eval.c (rb_frame_callee): returns the called name of the current
frame, not the previous frame.
* eval.c (prev_frame_callee, prev_frame_func): rename and make static,
as these are used by rb_f_method_name() and rb_f_callee_name() only.
* variable.c (set_const_visibility): use the called name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_vm2_case.rb')
0 files changed, 0 insertions, 0 deletions