summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-03 01:01:12 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-03 01:01:12 +0000
commitf6b2490fdb7d30d0c4ab37d63801f969c1aad4d5 (patch)
treecea218f64e6479efd64a3e21332bc4d7f492f7e7 /vm_core.h
parent2d189f672b21968ef9dbd27a2bddcfea146595c1 (diff)
* 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_core.h')
-rw-r--r--vm_core.h7
1 files changed, 0 insertions, 7 deletions
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;