summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-01 02:40:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-01 02:40:41 +0000
commit7ef7a65df6ca41aa0dd02703f2e4447395775cad (patch)
treea8d9ee1ff80906b9326ae8b3641de2718e34da56 /vm.c
parent84ad7e65ef0136911a5666b00a3ac6cd604a9421 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 03057bef1c..c6c972032e 100644
--- a/vm.c
+++ b/vm.c
@@ -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;
}