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 --- method.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'method.h') diff --git a/method.h b/method.h index f02925ee1d..60b72e2f87 100644 --- a/method.h +++ b/method.h @@ -11,6 +11,8 @@ #ifndef METHOD_H #define METHOD_H +#include "internal.h" + #ifndef END_OF_ENUMERATION # ifdef __GNUC__ # define END_OF_ENUMERATION(key) @@ -120,7 +122,7 @@ rb_method_entry_t *rb_method_entry_with_refinements(VALUE klass, ID id, rb_method_entry_t *rb_method_entry_without_refinements(VALUE klass, ID id, VALUE *defined_class_ptr); -rb_method_entry_t *rb_method_entry_get_without_cache(VALUE klass, ID id, VALUE *define_class_ptr); +rb_method_entry_t *rb_method_entry_get_without_cache(VALUE klass, ID id, VALUE *define_class_ptr, method_cache_entry_t *ent); rb_method_entry_t *rb_method_entry_set(VALUE klass, ID mid, const rb_method_entry_t *, rb_method_flag_t noex); int rb_method_entry_arity(const rb_method_entry_t *me); -- cgit v1.2.3