summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-09 05:15:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-09 05:15:57 +0000
commitf7ab09063563af0fca366ba39e7ff21b5231b005 (patch)
tree0c4ebeef53dc34427a3d00f2f89f91bf9dcf0cf4 /eval.c
parentef53976662096a955acb0317ac3a12ad18921ee8 (diff)
vm.c: frozen_strings in rb_vm_t
* vm.c (Init_vm_objects, rb_vm_fstring_table): use frozen_strings table in rb_vm_t. [ruby-core:70274] [Bug #11423] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/eval.c b/eval.c
index 632e020b9e..86a877a165 100644
--- a/eval.c
+++ b/eval.c
@@ -44,18 +44,15 @@ ID ruby_static_id_signo, ruby_static_id_status;
int
ruby_setup(void)
{
- static int initialized = 0;
int state;
- if (initialized)
+ if (GET_VM())
return 0;
- initialized = 1;
ruby_init_stack((void *)&state);
Init_BareVM();
Init_heap();
Init_vm_objects();
- Init_frozen_strings();
PUSH_TAG();
if ((state = EXEC_TAG()) == 0) {