summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/compile.c b/compile.c
index 3849a66a07..cdea789afd 100644
--- a/compile.c
+++ b/compile.c
@@ -10264,6 +10264,18 @@ dump_disasm_list_with_cursor(const LINK_ELEMENT *link, const LINK_ELEMENT *curr,
fflush(stdout);
}
+bool
+rb_insns_leaf_p(int i)
+{
+ return insn_leaf_p(i);
+}
+
+int
+rb_insn_len(VALUE insn)
+{
+ return insn_len(insn);
+}
+
const char *
rb_insns_name(int i)
{