summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2021-06-02 01:16:49 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2021-06-02 01:16:50 -0700
commit070caf54d2a17168d3de05aa1633979c8545f8f4 (patch)
tree61ec56b0fd8090f5b367b770226607e1e963507c /internal
parentc32ce2cbf100edd2a88e4230f08879c7cc73a891 (diff)
downloadruby-070caf54d2a17168d3de05aa1633979c8545f8f4.tar.gz
Refactor rb_vm_insn_addr2insn calls
It's been a way too much amount of ifdefs.
Diffstat (limited to 'internal')
-rw-r--r--internal/compile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/compile.h b/internal/compile.h
index 9842e0f5e0..c1f2a36685 100644
--- a/internal/compile.h
+++ b/internal/compile.h
@@ -23,6 +23,7 @@ VALUE rb_insns_name_array(void);
/* iseq.c */
int rb_vm_insn_addr2insn(const void *);
+int rb_vm_insn_decode(const VALUE encoded);
MJIT_SYMBOL_EXPORT_BEGIN
/* iseq.c (export) */