summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 0d08875afd..16ee74b28e 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -56,6 +56,13 @@
#define RUBY_VM_THREAD_MODEL 2
+/*
+ * implementation selector of get_insn_info algorithm
+ * 0: linear search
+ * 1: binary search
+ */
+#define VM_INSN_INFO_TABLE_IMPL 1
+
#include "ruby/ruby.h"
#include "ruby/st.h"