diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-03 01:01:12 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-03 01:01:12 +0000 |
commit | f6b2490fdb7d30d0c4ab37d63801f969c1aad4d5 (patch) | |
tree | cea218f64e6479efd64a3e21332bc4d7f492f7e7 /vm.c | |
parent | 2d189f672b21968ef9dbd27a2bddcfea146595c1 (diff) | |
download | ruby-f6b2490fdb7d30d0c4ab37d63801f969c1aad4d5.tar.gz |
* gc.c, vm.c, vm_core.h: remove USE_VALUE_CACHE option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -1709,18 +1709,6 @@ thread_free(void *ptr) st_free_table(th->local_storage); } -#if USE_VALUE_CACHE - { - VALUE *ptr = th->value_cache_ptr; - while (*ptr) { - VALUE v = *ptr; - RBASIC(v)->flags = 0; - RBASIC(v)->klass = 0; - ptr++; - } - } -#endif - if (th->vm && th->vm->main_thread == th) { RUBY_GC_INFO("main thread\n"); } @@ -1796,10 +1784,6 @@ th_init2(rb_thread_t *th, VALUE self) th->status = THREAD_RUNNABLE; th->errinfo = Qnil; th->last_status = Qnil; - -#if USE_VALUE_CACHE - th->value_cache_ptr = &th->value_cache[0]; -#endif } static void |