diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-07-19 01:35:04 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-07-19 01:35:04 +0000 |
commit | 0493b1ce3a43a33bb6298762d67e1a1b4f0a9657 (patch) | |
tree | 7553612b4b68a8f6bf2572936af3d40ecf6d11ac /vm.c | |
parent | 13155d4df577a2b5fc57c6b16cd92515c2d56870 (diff) | |
download | ruby-0493b1ce3a43a33bb6298762d67e1a1b4f0a9657.tar.gz |
revert r59359, r59356, r59355, r59354
These caused numerous CI failures I haven't been able to
reproduce [ruby-core:82102]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -2206,10 +2206,6 @@ ruby_vm_destruct(rb_vm_t *vm) st_free_table(vm->frozen_strings); vm->frozen_strings = 0; } - if (vm->tainted_frozen_strings) { - st_free_table(vm->tainted_frozen_strings); - vm->tainted_frozen_strings = 0; - } rb_vm_gvl_destroy(vm); if (objspace) { rb_objspace_free(objspace); @@ -3146,8 +3142,6 @@ Init_vm_objects(void) vm->mark_object_ary = rb_ary_tmp_new(128); vm->loading_table = st_init_strtable(); vm->frozen_strings = st_init_table_with_size(&rb_fstring_hash_type, 1000); - vm->tainted_frozen_strings = - st_init_table_with_size(&rb_fstring_hash_type, 1000); } /* top self */ @@ -3209,12 +3203,6 @@ rb_vm_fstring_table(void) return GET_VM()->frozen_strings; } -st_table * -rb_vm_tfstring_table(void) -{ - return GET_VM()->tainted_frozen_strings; -} - #if VM_COLLECT_USAGE_DETAILS #define HASH_ASET(h, k, v) rb_hash_aset((h), (st_data_t)(k), (st_data_t)(v)) |