From f6b2490fdb7d30d0c4ab37d63801f969c1aad4d5 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 3 Nov 2010 01:01:12 +0000 Subject: * 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 --- vm_core.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index f0e72ef3e7..1ea9413b71 100644 --- a/vm_core.h +++ b/vm_core.h @@ -365,9 +365,6 @@ struct rb_vm_protect_tag { struct rb_vm_protect_tag *prev; }; -#define RUBY_VM_VALUE_CACHE_SIZE 0x1000 -#define USE_VALUE_CACHE 0 - struct rb_unblock_callback { rb_unblock_function_t *func; void *arg; @@ -437,10 +434,6 @@ typedef struct rb_thread_struct { /* storage */ st_table *local_storage; -#if USE_VALUE_CACHE - VALUE value_cache[RUBY_VM_VALUE_CACHE_SIZE + 1]; - VALUE *value_cache_ptr; -#endif struct rb_thread_struct *join_list_next; struct rb_thread_struct *join_list_head; -- cgit v1.2.3