[ruby-cvs:54458] normal:r47310 (trunk): string.c: move frozen_strings table to rb_vm_t
normal at ruby-lang.org
normal at ruby-lang.org
Fri Aug 29 15:30:05 JST 2014
normal 2014-08-29 15:30:03 +0900 (Fri, 29 Aug 2014)
New Revision: 47310
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47310
Log:
string.c: move frozen_strings table to rb_vm_t
Cleanup in case MVM development proceeds.
* string.c: remove static frozen_strings
* string.c (Init_frozen_strings): new function
* string.c (rb_fstring): remove check for frozen strings,
use per-VM table
* string.c (rb_str_free): use per-VM table
* string.c (Init_String): use per-VM table
* vm_core.h (rb_vm_t): add frozen_strings table
* internal.h (Init_frozen_strings): new function prototype
* eval.c (ruby_setup): call Init_frozen_strings
[Feature #10182]
Modified files:
trunk/ChangeLog
trunk/common.mk
trunk/eval.c
trunk/internal.h
trunk/string.c
trunk/vm_core.h
More information about the ruby-cvs
mailing list