From 2f522b9cc6f3e184404040b12af4486520a73b26 Mon Sep 17 00:00:00 2001 From: charliesome Date: Wed, 4 Sep 2013 05:25:06 +0000 Subject: * class.c, compile.c, eval.c, gc.h, insns.def, internal.h, method.h, variable.c, vm.c, vm_core.c, vm_insnhelper.c, vm_insnhelper.h, vm_method.c: Implement class hierarchy method cache invalidation. [ruby-core:55053] [Feature #8426] [GH-387] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index fd0fa0bf3b..4e46479940 100644 --- a/vm_core.h +++ b/vm_core.h @@ -127,7 +127,8 @@ typedef struct rb_compile_option_struct rb_compile_option_t; struct iseq_inline_cache_entry { - VALUE ic_vmstat; + vm_state_version_t ic_vmstat; + vm_state_version_t ic_seq; VALUE ic_class; union { size_t index; @@ -157,7 +158,8 @@ typedef struct rb_call_info_struct { rb_iseq_t *blockiseq; /* inline cache: keys */ - VALUE vmstat; + vm_state_version_t vmstat; + vm_state_version_t seq; VALUE klass; /* inline cache: values */ -- cgit v1.2.3