diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 08:40:28 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 08:40:28 +0000 |
commit | 8ffcea9edcb265e81983ec3f3f8156f3b38158be (patch) | |
tree | 23b4471775b07e7c2b7dbccc6c4ac1d5627d0848 /ext/objspace | |
parent | 9d01767f8276215fdf6f0adff00835be670cb06b (diff) | |
download | ruby-8ffcea9edcb265e81983ec3f3f8156f3b38158be.tar.gz |
Replace NODE_ALLOCA with T_IMEMO (imemo_alloc)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/objspace')
-rw-r--r-- | ext/objspace/objspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index ee76367b44..d1ccb51094 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -468,7 +468,6 @@ count_nodes(int argc, VALUE *argv, VALUE os) COUNT_NODE(NODE_ERRINFO); COUNT_NODE(NODE_DEFINED); COUNT_NODE(NODE_POSTEXE); - COUNT_NODE(NODE_ALLOCA); COUNT_NODE(NODE_BMETHOD); COUNT_NODE(NODE_DSYM); COUNT_NODE(NODE_ATTRASGN); @@ -626,6 +625,7 @@ count_imemo_objects(int argc, VALUE *argv, VALUE self) imemo_type_ids[5] = rb_intern("imemo_memo"); imemo_type_ids[6] = rb_intern("imemo_ment"); imemo_type_ids[7] = rb_intern("imemo_iseq"); + imemo_type_ids[8] = rb_intern("imemo_alloc"); } rb_objspace_each_objects(count_imemo_objects_i, (void *)hash); |