mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Get rid of doubly caching
This commit is contained in:
parent
2c6876f811
commit
be52c72889
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ count_imemo_objects(int argc, VALUE *argv, VALUE self)
|
|||
VALUE hash = setup_hash(argc, argv);
|
||||
|
||||
if (imemo_type_ids[0] == 0) {
|
||||
#define INIT_IMEMO_TYPE_ID(n) (imemo_type_ids[n] = rb_intern(#n))
|
||||
#define INIT_IMEMO_TYPE_ID(n) (imemo_type_ids[n] = rb_intern_const(#n))
|
||||
INIT_IMEMO_TYPE_ID(imemo_env);
|
||||
INIT_IMEMO_TYPE_ID(imemo_cref);
|
||||
INIT_IMEMO_TYPE_ID(imemo_svar);
|
||||
|
|
Loading…
Add table
Reference in a new issue