aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-20 01:19:47 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-20 01:19:47 +0000
commit91793b8967e0531bd1159a8ff0cc7e50739c7620 (patch)
tree87ba81af05456fe8bdeb29227a968a413e480635 /symbol.c
parente3d547f6df76a48834cfd9893baf4f51567b3afb (diff)
downloadruby-91793b8967e0531bd1159a8ff0cc7e50739c7620.tar.gz
Add `GC.compact` again.
🙏 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/symbol.c b/symbol.c
index 09fe7ecb33..a3422501a8 100644
--- a/symbol.c
+++ b/symbol.c
@@ -60,12 +60,7 @@ enum id_entry_type {
ID_ENTRY_SIZE
};
-static struct symbols {
- rb_id_serial_t last_id;
- st_table *str_sym;
- VALUE ids;
- VALUE dsymbol_fstr_hash;
-} global_symbols = {tNEXT_ID-1};
+rb_symbols_t global_symbols = {tNEXT_ID-1};
static const struct st_hash_type symhash = {
rb_str_hash_cmp,