diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2021-06-02 01:16:49 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2021-06-02 01:16:50 -0700 |
commit | 070caf54d2a17168d3de05aa1633979c8545f8f4 (patch) | |
tree | 61ec56b0fd8090f5b367b770226607e1e963507c /internal | |
parent | c32ce2cbf100edd2a88e4230f08879c7cc73a891 (diff) | |
download | ruby-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.h | 1 |
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) */ |