From 960e8a419f9bbf4b48f534c66972e833d56e8289 Mon Sep 17 00:00:00 2001 From: shugo Date: Sat, 6 Oct 2012 09:36:35 +0000 Subject: * vm_opts.h (OPT_GLOBAL_METHOD_CACHE): new build option to enable/disable global method caching. [ruby-dev:46203] [Bug #7111] * vm_method.c (rb_method_entry_get_with_omod): don't use global method cache if OPT_GLOBAL_METHOD_CACHE is 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_opts.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vm_opts.h') diff --git a/vm_opts.h b/vm_opts.h index 9e357f4c40..4f7162d1b4 100644 --- a/vm_opts.h +++ b/vm_opts.h @@ -37,6 +37,7 @@ /* VM running option */ #define OPT_CHECKED_RUN 1 #define OPT_INLINE_METHOD_CACHE 1 +#define OPT_GLOBAL_METHOD_CACHE 1 #define OPT_BLOCKINLINING 0 /* architecture independent, affects generated code */ -- cgit v1.2.1