summaryrefslogtreecommitdiff
path: root/vm_insnhelper.h
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_insnhelper.h
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_insnhelper.h')
-rw-r--r--vm_insnhelper.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index 73e88e5a42..1c0d046587 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -263,9 +263,7 @@ enum vm_regan_acttype {
#define GET_VM_STATE_VERSION() (ruby_vm_global_state_version)
#define INC_VM_STATE_VERSION() do { \
ruby_vm_global_state_version = (ruby_vm_global_state_version + 1); \
- if (ruby_vm_global_state_version == 0) vm_clear_all_cache(); \
} while (0)
-static void vm_clear_all_cache(void);
static VALUE make_no_method_exception(VALUE exc, const char *format,
VALUE obj, int argc, const VALUE *argv);