Remove an unused VM option

This seems to be used nowhere today.
This commit is contained in:
Takashi Kokubun 2023-03-13 20:53:36 -07:00
parent c58759f494
commit 4ad171bb25
2 changed files with 0 additions and 4 deletions

3
vm.c
View File

@ -3884,9 +3884,6 @@ Init_VM(void)
#if OPT_INLINE_METHOD_CACHE #if OPT_INLINE_METHOD_CACHE
rb_ary_push(opts, rb_str_new2("inline method cache")); rb_ary_push(opts, rb_str_new2("inline method cache"));
#endif #endif
#if OPT_BLOCKINLINING
rb_ary_push(opts, rb_str_new2("block inlining"));
#endif
/* ::RubyVM::INSTRUCTION_NAMES /* ::RubyVM::INSTRUCTION_NAMES
* A list of bytecode instruction names in MRI. * A list of bytecode instruction names in MRI.

View File

@ -45,7 +45,6 @@
#define OPT_CHECKED_RUN 1 #define OPT_CHECKED_RUN 1
#define OPT_INLINE_METHOD_CACHE 1 #define OPT_INLINE_METHOD_CACHE 1
#define OPT_GLOBAL_METHOD_CACHE 1 #define OPT_GLOBAL_METHOD_CACHE 1
#define OPT_BLOCKINLINING 0
#ifndef OPT_IC_FOR_IVAR #ifndef OPT_IC_FOR_IVAR
#define OPT_IC_FOR_IVAR 1 #define OPT_IC_FOR_IVAR 1