diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-01 02:40:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-01 02:40:41 +0000 |
commit | 7ef7a65df6ca41aa0dd02703f2e4447395775cad (patch) | |
tree | a8d9ee1ff80906b9326ae8b3641de2718e34da56 /vm.c | |
parent | 84ad7e65ef0136911a5666b00a3ac6cd604a9421 (diff) | |
download | ruby-7ef7a65df6ca41aa0dd02703f2e4447395775cad.tar.gz |
eval.c: use predefined IDs
* eval.c (frame_func_id): use predefined IDs.
* vm.c (rb_vm_control_frame_id_and_class): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1460,7 +1460,7 @@ rb_vm_control_frame_id_and_class(const rb_control_frame_t *cfp, ID *idp, VALUE * } while (iseq) { if (RUBY_VM_IFUNC_P(iseq)) { - if (idp) CONST_ID(*idp, "<ifunc>"); + if (idp) *idp = idIFUNC; if (klassp) *klassp = 0; return 1; } |