summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorcharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-28 00:31:07 +0000
committercharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-28 00:31:07 +0000
commit393e577d31607c7cd2a2e953c185229083d96c2c (patch)
tree94578d8888062987cfd4f4c13b3444d9c102dd35 /vm.c
parent910cee22e9d257b5a187b26b9ddfe74e63f45583 (diff)
* vm.c: vm_clear_all_cache is not necessary now we use a 64 bit counter
for global state version. * vm_insnhelper.h: ruby_vm_global_state_version overflow is unnecessary git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/vm.c b/vm.c
index acae935446..80e13de1bd 100644
--- a/vm.c
+++ b/vm.c
@@ -106,22 +106,6 @@ rb_event_flag_t ruby_vm_event_flags;
static void thread_free(void *ptr);
-static void
-vm_clear_all_inline_method_cache(void)
-{
- /* TODO: Clear all inline cache entries in all iseqs.
- How to iterate all iseqs in sweep phase?
- rb_objspace_each_objects() doesn't work at sweep phase.
- */
-}
-
-static void
-vm_clear_all_cache()
-{
- vm_clear_all_inline_method_cache();
- ruby_vm_global_state_version = 1;
-}
-
void
rb_vm_inc_const_missing_count(void)
{