aboutsummaryrefslogtreecommitdiffstats
path: root/variable.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-03 03:38:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-03 03:38:10 +0000
commit876bfc6b4ee6c0ddacbeff328dc428889d789a6b (patch)
tree88bb8bfaea318a50351ce4db76ac08683214eb95 /variable.c
parent255adda52fcd161f62fd75eec9504200e6b6eea8 (diff)
downloadruby-876bfc6b4ee6c0ddacbeff328dc428889d789a6b.tar.gz
Init functions don't need ID caches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/variable.c b/variable.c
index dac12aba9e..34528e87fc 100644
--- a/variable.c
+++ b/variable.c
@@ -27,13 +27,13 @@ void
Init_var_tables(void)
{
rb_global_tbl = st_init_numtable();
- CONST_ID(autoload, "__autoload__");
+ autoload = rb_intern_const("__autoload__");
/* __classpath__: fully qualified class path */
- CONST_ID(classpath, "__classpath__");
+ classpath = rb_intern_const("__classpath__");
/* __tmp_classpath__: temporary class path which contains anonymous names */
- CONST_ID(tmp_classpath, "__tmp_classpath__");
+ tmp_classpath = rb_intern_const("__tmp_classpath__");
/* __classid__: name given to class/module under an anonymous namespace */
- CONST_ID(classid, "__classid__");
+ classid = rb_intern_const("__classid__");
}
struct fc_result {