summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-22 13:09:37 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-22 13:09:37 +0000
commitb8cc476ce9a3e931fb474ee83e8ae147bcd9c86e (patch)
tree7e4873181f0b7e90bb83cdd79d0753f092b134eb /vm_eval.c
parent4f03a239dcd6704e4ae7a7029dc6b31d579e9f7c (diff)
use predefined IDs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_eval.c b/vm_eval.c
index fea06a7..3a82a08 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -2150,9 +2150,9 @@ Init_vm_eval(void)
rb_define_private_method(rb_cBasicObject, "method_missing", rb_method_missing, -1);
#if 1
- rb_add_method(rb_cBasicObject, rb_intern("__send__"),
+ rb_add_method(rb_cBasicObject, id__send__,
VM_METHOD_TYPE_OPTIMIZED, (void *)OPTIMIZED_METHOD_TYPE_SEND, METHOD_VISI_PUBLIC);
- rb_add_method(rb_mKernel, rb_intern("send"),
+ rb_add_method(rb_mKernel, idSend,
VM_METHOD_TYPE_OPTIMIZED, (void *)OPTIMIZED_METHOD_TYPE_SEND, METHOD_VISI_PUBLIC);
#else
rb_define_method(rb_cBasicObject, "__send__", rb_f_send, -1);