diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-22 13:09:37 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-22 13:09:37 +0000 |
commit | 16ae65fe2b9a778be66189bb03c66d10b9e1afce (patch) | |
tree | 7e4873181f0b7e90bb83cdd79d0753f092b134eb /variable.c | |
parent | 1bbf8aae69e1850ceae2dac569577b6e6dd59dd0 (diff) | |
download | ruby-16ae65fe2b9a778be66189bb03c66d10b9e1afce.tar.gz |
use predefined IDs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 3e37bc2f72..3f9725a065 100644 --- a/variable.c +++ b/variable.c @@ -1748,7 +1748,7 @@ uninitialized_constant(VALUE klass, VALUE name) VALUE rb_const_missing(VALUE klass, VALUE name) { - VALUE value = rb_funcallv(klass, rb_intern("const_missing"), 1, &name); + VALUE value = rb_funcallv(klass, idConst_missing, 1, &name); rb_vm_inc_const_missing_count(); return value; } |