aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-13 20:53:36 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-13 20:54:00 -0700
commit4ad171bb255003be688bbe8c72183943a6c7c2ae (patch)
tree4dbdfaf2080fc917e9b889e513b05004d8537a8b
parentc58759f4948747e90134ad314fbd94cdf1c2d93b (diff)
downloadruby-4ad171bb255003be688bbe8c72183943a6c7c2ae.tar.gz
Remove an unused VM option
This seems to be used nowhere today.
-rw-r--r--vm.c3
-rw-r--r--vm_opts.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/vm.c b/vm.c
index 3c809c65d3..7185f77a43 100644
--- a/vm.c
+++ b/vm.c
@@ -3884,9 +3884,6 @@ Init_VM(void)
#if OPT_INLINE_METHOD_CACHE
rb_ary_push(opts, rb_str_new2("inline method cache"));
#endif
-#if OPT_BLOCKINLINING
- rb_ary_push(opts, rb_str_new2("block inlining"));
-#endif
/* ::RubyVM::INSTRUCTION_NAMES
* A list of bytecode instruction names in MRI.
diff --git a/vm_opts.h b/vm_opts.h
index b0ca81f304..86616649db 100644
--- a/vm_opts.h
+++ b/vm_opts.h
@@ -45,7 +45,6 @@
#define OPT_CHECKED_RUN 1
#define OPT_INLINE_METHOD_CACHE 1
#define OPT_GLOBAL_METHOD_CACHE 1
-#define OPT_BLOCKINLINING 0
#ifndef OPT_IC_FOR_IVAR
#define OPT_IC_FOR_IVAR 1