From 6a2ef9d6c30c1f6a641434850ba48ae69f9f23ca Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 20 May 2014 06:28:52 +0000 Subject: id.def: predefine conversion method IDs * defs/id.def: predefine conversion method name IDs. * object.c (conv_method_names): consitify with predefined IDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- defs/id.def | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'defs') diff --git a/defs/id.def b/defs/id.def index 53ed3775ad..90d2e84074 100644 --- a/defs/id.def +++ b/defs/id.def @@ -26,6 +26,16 @@ firstline, predefined = __LINE__+1, %[\ initialize_copy initialize_clone initialize_dup + to_int + to_ary + to_str + to_sym + to_hash + to_proc + to_io + to_a + to_s + _ UScore "/*NULL*/" NULL empty? -- cgit v1.2.3